projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add blobmsg validation function
[project/libubox.git]
/
blobmsg.h
diff --git
a/blobmsg.h
b/blobmsg.h
index
b50cca9
..
3085d00
100644
(file)
--- 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);