| 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; |