*** src/dotconf.h.orig Tue Oct 3 13:54:35 2000 --- src/dotconf.h Tue Oct 3 13:55:09 2000 *************** *** 95,100 **** --- 95,106 ---- && (_val[1] == 'n' \ || _val[1] == 'N'))) + enum callback_types + { + ERROR_HANDLER = 1, + CONTEXT_CHECKER, + }; + typedef enum callback_types callback_types; typedef struct configfile_t configfile_t; typedef struct configoption_t configoption_t; *************** *** 107,118 **** typedef int (*dotconf_errorhandler_t)(configfile_t *, int, unsigned long, const char *); typedef const char *(*dotconf_contextchecker_t)(command_t *, unsigned long); - enum callback_types - { - ERROR_HANDLER = 1, - CONTEXT_CHECKER, - }; - struct configfile_t { /* ------ the fields in configfile_t are provided to the app via command_t's ; READ ONLY! --- */ --- 113,118 ----