diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-08 05:05:00 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-08 05:05:03 +0400 |
commit | 2f74dbad14b42c3a6687b093210b8604d0b235cd (patch) | |
tree | d2478279e17ed6b0d064a7e602de7aa115c325a1 /blobmsg.h | |
parent | dde64e47cadbd245a99f145869eb400b68cc82e9 (diff) |
blobmsg: add blobmsg_parse_array()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blobmsg.h')
-rw-r--r-- | blobmsg.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |