Artifact 8f8355315c220459a18dca6093875677c4f89388:
- File libconfig_private.h — part of check-in [730308bffd] at 2005-09-30 08:27:32 on branch trunk — Added filename and line numbers to error messages. Began adding support for lists of options rather than just one option per item. libconfig 0.1.19 (user: rkeene, size: 506) [annotate] [blame] [check-ins using]
#ifndef _RSK_LIBCONFIG_PRIVATE_H #define _RSK_LIBCONFIG_PRIVATE_H #include "libconfig.h" extern lc_err_t lc_errno; extern int lc_errline; extern const char *lc_errfile; int lc_process_var(const char *var, const char *varargs, const char *value, lc_flags_t flags); struct lc_varhandler_st; struct lc_varhandler_st { struct lc_varhandler_st *_next; char *var; char opt; lc_var_type_t type; enum { LC_MODE_CALLBACK, LC_MODE_VAR } mode; int (*callback)(); void *data; void *extra; }; #endif