X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=uci.h;h=36c8890dba0ce9fe86cf4eac8bc43f366720c927;hp=d2d8011ccb8301a4a74b4618985bfbc1494da3a1;hb=5086ffb40bd77dd14ce78534b38a86fe371aadb8;hpb=f1ae2ddc4ff16e541c46f595073bf277cd8f778a diff --git a/uci.h b/uci.h index d2d8011..36c8890 100644 --- a/uci.h +++ b/uci.h @@ -9,12 +9,16 @@ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. */ #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,19 @@ struct uci_list struct uci_list *prev; }; +struct uci_ptr; 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: [.
[.