| #ifndef __PIPED_UCI__ |
| #define __PIPED_UCI__ |
| |
| void pd_uci_done(struct uci_context *c, bool commit); |
| int pd_uci_get_ptr(struct uci_context *c, const char *p, const char *s, |
| const char *o, const char *v, struct uci_ptr *ptr); |
| char *pd_uci_get_opt(struct uci_context *c, const char *p, const char *s, |
| const char *o); |
| char *pd_uci_get_list_first(struct uci_context *c, const char *p, |
| const char *s, const char *o); |
| struct uci_list *pd_uci_get_list(struct uci_context *c, const char *p, |
| const char *s, const char *o); |
| int pd_uci_set_opt(struct uci_context *c, const char *p, const char *s, |
| const char *o, const char *v); |
| |
| int pd_uci_add_list(struct uci_context *c, const char *p, const char *s, |
| const char *o, const char *v); |
| |
| int pd_uci_del_opt(struct uci_context *c, const char *p, const char *s, |
| const char *o, const char *v); |
| int pd_uci_del_from_list(struct uci_context *c, const char *p, const char *s, |
| const char *o, const char *v); |
| int pd_uci_del(struct uci_context *c, const char *p, const char *s, |
| const char *o, const char *v); |
| int pd_uci_list_len(struct uci_list *l); |
| int pd_uci_parse_bool(char *b); |
| |
| #endif |