Differences From Artifact [a63e3c406d]:
- File libconfig.h.in — part of check-in [6a0a10a0ab] at 2004-10-24 14:26:31 on branch trunk — Lots of improvements to libconfig: We now process the command line arguments ourselves rather than using getopt(). We now process Apache-style config files. Began work on documentation. Many more bug fixes (user: rkeene, size: 1676) [annotate] [blame] [check-ins using]
To Artifact [e6a141a35f]:
- File libconfig.h.in — part of check-in [92a0e45fc6] at 2004-10-26 13:19:56 on branch trunk — Updated man pages. Updated lc_process_files() to work. (user: rkeene, size: 1691) [annotate] [blame] [check-ins using]
| ︙ | |||
51 52 53 54 55 56 57 58 59 60 61 62 63 64 | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | + |
LC_ERR_NONE,
LC_ERR_INVCMD,
LC_ERR_INVSECTION,
LC_ERR_INVDATA,
LC_ERR_BADFORMAT,
LC_ERR_CANTOPEN,
LC_ERR_CALLBACK,
LC_ERR_ENOMEM
} lc_err_t;
__BLANK_LINE__
int lc_process(int argc, char **argv, const char *appname, lc_conf_type_t type, const char *extra);
int lc_register_callback(const char *var, char opt, lc_var_type_t type, int (*callback)(const char *, const char *, const char *, const char *, lc_flags_t, void *), void *extra);
int lc_register_var(const char *var, lc_var_type_t type, void *data, char opt);
|
| ︙ |