X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=uci.h;h=b31d00795804bd1e443725eb83a328ffcde92042;hp=d7fd1e2f5fbd543919a6fd949f070cff26894e04;hb=65478f063638344ea8bd9dff355f2d5468ae013e;hpb=cac9b1d765338466c1c77719c4119c565689b4c4 diff --git a/uci.h b/uci.h index d7fd1e2..b31d007 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: [.
[.