X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=uci.h;h=a5eb7f153ebc79bd600df47b210198b53751024f;hb=825be5d0cd699919fbad15901c63044f0efffe82;hp=0850ad69fff7b2e862eb871d67bdc12091e9ba99;hpb=51b60a322aff3fd1045fb6c9eb289ade2de54e71;p=project%2Fuci.git diff --git a/uci.h b/uci.h index 0850ad6..a5eb7f1 100644 --- a/uci.h +++ b/uci.h @@ -15,6 +15,10 @@ #ifndef __LIBUCI_H #define __LIBUCI_H +#ifdef __cplusplus +extern "C" { +#endif + #include "uci_config.h" /* @@ -29,6 +33,7 @@ #include #include #include +#include #define UCI_CONFDIR "/etc/config" #define UCI_SAVEDIR "/tmp/.uci" @@ -55,30 +60,21 @@ struct uci_list struct uci_list *prev; }; +struct uci_ptr; +struct uci_plugin; +struct uci_hook_ops; struct uci_element; struct uci_package; struct uci_section; struct uci_option; -struct uci_history; +struct uci_delta; struct uci_context; struct uci_backend; +struct uci_parse_option; struct uci_parse_context; /** - * uci_parse_tuple: Parse an uci tuple - * @ctx: uci context - * @str: input string - * @package: output package pointer - * @section: output section pointer - * @option: output option pointer - * @value: output value pointer - * - * format: [.
[.