BLOBMSG_TYPE_INT64,
BLOBMSG_TYPE_INT32,
BLOBMSG_TYPE_INT16,
- BLOBMSG_TYPE_INT8
+ BLOBMSG_TYPE_INT8,
+ __BLOBMSG_TYPE_LAST,
+ BLOBMSG_TYPE_LAST = __BLOBMSG_TYPE_LAST - 1
};
struct blobmsg_hdr {
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);