51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
LC_ERR_NONE,
LC_ERR_INVCMD,
LC_ERR_INVSECTION,
LC_ERR_INVDATA,
LC_ERR_BADFORMAT,
LC_ERR_CANTOPEN,
LC_ERR_CALLBACK,
} 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);
|
>
|
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);
|