Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-08 05:05:00 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-01-08 05:05:03 +0400
commit2f74dbad14b42c3a6687b093210b8604d0b235cd (patch)
treed2478279e17ed6b0d064a7e602de7aa115c325a1 /blobmsg.h
parentdde64e47cadbd245a99f145869eb400b68cc82e9 (diff)
blobmsg: add blobmsg_parse_array()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blobmsg.h')
-rw-r--r--blobmsg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/blobmsg.h b/blobmsg.h
index 94b145c..056f79a 100644
--- a/blobmsg.h
+++ b/blobmsg.h
@@ -81,6 +81,8 @@ bool blobmsg_check_attr(const struct blob_attr *attr, bool name);
bool blobmsg_check_attr_list(const struct blob_attr *attr, int type);
int blobmsg_parse(const struct blobmsg_policy *policy, int policy_len,
struct blob_attr **tb, void *data, int len);
+int blobmsg_parse_array(const struct blobmsg_policy *policy, int policy_len,
+ struct blob_attr **tb, void *data, int len);
int blobmsg_add_field(struct blob_buf *buf, int type, const char *name,
const void *data, int len);