Sha256: e7cd16f7ac603669cfb015f60b2f391cc9f032c871d96220b8d560fcdadd578d

Contents?: true

Size: 847 Bytes

Versions: 12

Compression:

Stored size: 847 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',
} 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

12 entries across 12 versions & 1 rubygems

Version Path
ox-2.4.13 ext/ox/sax_hint.h
ox-2.4.12 ext/ox/sax_hint.h
ox-2.4.11 ext/ox/sax_hint.h
ox-2.4.9 ext/ox/sax_hint.h
ox-2.4.8 ext/ox/sax_hint.h
ox-2.4.7 ext/ox/sax_hint.h
ox-2.4.6 ext/ox/sax_hint.h
ox-2.4.5 ext/ox/sax_hint.h
ox-2.4.4 ext/ox/sax_hint.h
ox-2.4.3 ext/ox/sax_hint.h
ox-2.4.2 ext/ox/sax_hint.h
ox-2.4.1 ext/ox/sax_hint.h