diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-23 21:55:41 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-01-23 21:55:41 +0300 |
commit | 71f0be5e11b773ed4b09d1cc46099cdafacbd56a (patch) | |
tree | 8390327e91131228fbe02d1708032d9de502fa72 /blobmsg.h | |
parent | 63cea8dcb79be7bf2bd32b7c05ac289a473192a5 (diff) |
add blobmsg validation function
Diffstat (limited to 'blobmsg.h')
-rw-r--r-- | blobmsg.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -65,6 +65,7 @@ static inline int blobmsg_data_len(struct blob_attr *attr) return blob_len(attr) - (end - start); } +bool blobmsg_check_attr(const struct blob_attr *attr, bool name); int blobmsg_parse(const struct blobmsg_policy *policy, int policy_len, struct blob_attr **tb, void *data, int len); |