X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=uci.h;h=74bbdffa921cf8e2e8a34fcb103b0a0cd969165d;hb=afa566288588a590961c366476bcd9341a957297;hp=674981c8f369685ecc894ef843a34e91c02fc1a6;hpb=406d259cd1faab6de1ee2b817970c9f71d7945a2;p=project%2Fuci.git diff --git a/uci.h b/uci.h index 674981c..74bbdff 100644 --- a/uci.h +++ b/uci.h @@ -32,7 +32,8 @@ #define UCI_CONFDIR "/etc/config" #define UCI_SAVEDIR "/tmp/.uci" -#define UCI_FILEMODE 0600 +#define UCI_DIRMODE 0700 +#define UCI_FILEMODE 0600 enum { @@ -54,6 +55,9 @@ 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; @@ -65,19 +69,6 @@ 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: [.
[.