Sha256: c896d830b4090ed7c62b8eacc123e794b8db8d1ab3b2a28d8859acf6c85ed486

Contents?: true

Size: 895 Bytes

Versions: 18

Compression:

Stored size: 895 Bytes

Contents

/* hint.h
 * Copyright (c) 2011, Peter Ohler
 * All rights reserved.
 */

#ifndef __OX_HINT_H__
#define __OX_HINT_H__

#include <stdbool.h>

typedef enum {
    ActiveOverlay	= 0,
    InactiveOverlay	= 'i',
    BlockOverlay	= 'b',
    OffOverlay		= 'o',
    AbortOverlay	= 'a',
    NestOverlay		= 'n', // nest flag is ignored
} Overlay;

typedef struct _Hint {
    const char	*name;
    char	empty;	// must be closed or close auto it, not error
    char	nest;	// nesting allowed
    char	jump;	// jump to end <script> ... </script>
    char	overlay;// Overlay
    const char	**parents;
} *Hint;

typedef struct _Hints {
    const char	*name;
    Hint	hints; // array of hints
    int		size;
} *Hints;

extern Hints	ox_hints_html(void);
extern Hint	ox_hint_find(Hints hints, const char *name);
extern Hints	ox_hints_dup(Hints h);
extern void	ox_hints_destroy(Hints h);

#endif /* __OX_HINT_H__ */

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
xaiml-0.1.3 vendor/bundle/ruby/2.5.0/gems/ox-2.10.0/ext/ox/sax_hint.h
xaiml-0.1.2 vendor/bundle/ruby/2.5.0/gems/ox-2.10.0/ext/ox/sax_hint.h
xaiml-0.1.1 vendor/bundle/ruby/2.5.0/gems/ox-2.10.0/ext/ox/sax_hint.h
xaiml-0.1.0 vendor/bundle/ruby/2.5.0/gems/ox-2.10.0/ext/ox/sax_hint.h
ox-2.10.0 ext/ox/sax_hint.h
ox-2.9.4 ext/ox/sax_hint.h
ox-2.9.3 ext/ox/sax_hint.h
ox-2.9.2 ext/ox/sax_hint.h
ox-2.9.1 ext/ox/sax_hint.h
ox-2.9.0 ext/ox/sax_hint.h
ox-2.8.4 ext/ox/sax_hint.h
ox-2.8.3 ext/ox/sax_hint.h
ox-2.8.2 ext/ox/sax_hint.h
ox-2.8.1 ext/ox/sax_hint.h
ox-2.8.0 ext/ox/sax_hint.h
ox-2.7.0 ext/ox/sax_hint.h
ox-2.6.0 ext/ox/sax_hint.h
ox-2.5.0 ext/ox/sax_hint.h