From 82db7b24855fbf5815d059c7cf6ab5f3f4ee44f0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 20 Aug 2010 14:55:15 +0200 Subject: [PATCH] export uci_parse_ptr --- uci.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 { -- 2.25.1