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>2011-01-23 21:55:41 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-01-23 21:55:41 +0300
commit71f0be5e11b773ed4b09d1cc46099cdafacbd56a (patch)
tree8390327e91131228fbe02d1708032d9de502fa72 /blobmsg.h
parent63cea8dcb79be7bf2bd32b7c05ac289a473192a5 (diff)
add blobmsg validation function
Diffstat (limited to 'blobmsg.h')
-rw-r--r--blobmsg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blobmsg.h b/blobmsg.h
index b50cca9..3085d00 100644
--- a/blobmsg.h
+++ b/blobmsg.h
@@ -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);