|
|
@ -22,7 +22,8 @@ extern cfg_t *create(const char *init); |
|
|
|
extern bool config(cfg_t *c, const char *key, const char *value); |
|
|
|
extern bool config(cfg_t *c, const char *key, const char *value); |
|
|
|
extern bool ready(cfg_t *c); |
|
|
|
extern bool ready(cfg_t *c); |
|
|
|
extern char *error(cfg_t *c); |
|
|
|
extern char *error(cfg_t *c); |
|
|
|
|
|
|
|
extern void errorcb(cfg_t *c, void (*cb)(char *errstr)); |
|
|
|
extern bool start(cfg_t *c); |
|
|
|
extern bool start(cfg_t *c); |
|
|
|
extern bool stop(cfg_t *c); |
|
|
|
|
|
|
|
extern bool next(cfg_t *c, char *buf, size_t bufsize, bool reset); |
|
|
|
extern bool next(cfg_t *c, char *buf, size_t bufsize, bool reset); |
|
|
|
|
|
|
|
extern bool stop(cfg_t *c); |
|
|
|
extern void destroy(cfg_t *c); |
|
|
|
extern void destroy(cfg_t *c); |
|
|
|