projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce771b
)
export uci_parse_ptr
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 20 Aug 2010 12:55:15 +0000
(14:55 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 20 Aug 2010 12:55:15 +0000
(14:55 +0200)
uci.h
patch
|
blob
|
history
diff --git
a/uci.h
b/uci.h
index 95d9c0a1ff464a94a4f696130390efe86fc616b8..4fa0b6a44a7b74a846d48209bcdbca6d448ca98e 100644
(file)
--- 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 {