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
path: root/blob.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-31 05:46:37 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-01-31 05:46:37 +0300
commitf2b9272e0b427545e34b27ba4be4a5b1bbc6ad69 (patch)
tree5235965dc5a50052eea83e39ba4a2c1c8e153334 /blob.h
parentec593913f4a5ee31d4a295708ba91beb0d439ffe (diff)
make blob attribute checking available externally
Diffstat (limited to 'blob.h')
-rw-r--r--blob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blob.h b/blob.h
index a7afdcb..7d7509c 100644
--- a/blob.h
+++ b/blob.h
@@ -218,6 +218,7 @@ extern struct blob_attr *blob_new(struct blob_buf *buf, int id, int payload);
extern void *blob_nest_start(struct blob_buf *buf, int id);
extern void blob_nest_end(struct blob_buf *buf, void *cookie);
extern struct blob_attr *blob_put(struct blob_buf *buf, int id, const void *ptr, int len);
+extern bool blob_check_type(void *ptr, int len, int type);
extern int blob_parse(struct blob_attr *attr, struct blob_attr **data, const struct blob_attr_info *info, int max);
static inline struct blob_attr *