From: Felix Fietkau Date: Fri, 20 Aug 2010 12:55:15 +0000 (+0200) Subject: export uci_parse_ptr X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=82db7b24855fbf5815d059c7cf6ab5f3f4ee44f0 export uci_parse_ptr --- diff --git a/uci.h b/uci.h index 95d9c0a..4fa0b6a 100644 --- a/uci.h +++ b/uci.h @@ -323,6 +323,15 @@ int uci_load_plugin(struct uci_context *ctx, const char *filename); */ int uci_load_plugins(struct uci_context *ctx, const char *pattern); +/** + * uci_parse_ptr: parse a uci string into a uci_ptr + * @ctx: uci context + * @ptr: target data structure + * @str: string to parse + * + * str is modified by this function + */ +int uci_parse_ptr(struct uci_context *ctx, struct uci_ptr *ptr, char *str); /* UCI data structures */ enum uci_type {