include/libtu/parser.h

changeset 38
5e59489313a0
parent 36
63cd573ffbcf
child 40
0a050a9536a1
equal deleted inserted replaced
37:3cf58eae0df6 38:5e59489313a0
26 * 26 *
27 * "#end" call this handler at the end of section. 27 * "#end" call this handler at the end of section.
28 * "#cancel" call this handler when recovering from error 28 * "#cancel" call this handler when recovering from error
29 */ 29 */
30 30
31 #define END_CONFOPTS {NULL, NULL, NULL, NULL}
32
31 typedef struct _ConfOpt{ 33 typedef struct _ConfOpt{
32 const char *optname; 34 const char *optname;
33 const char *argfmt; 35 const char *argfmt;
34 bool (*fn)(Tokenizer *tokz, int n, Token *toks); 36 bool (*fn)(Tokenizer *tokz, int n, Token *toks);
35 struct _ConfOpt *opts; 37 struct _ConfOpt *opts;

mercurial