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>2013-02-10 23:43:33 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-02-10 23:43:33 +0400
commitb786f852674769813061474366e936fe6e5bd22e (patch)
tree9e80e2a6812115c99e0319a82bf302b835e59ac1 /blob.h
parent9a3519536b7497a1423fbfa7e8981212a30f1793 (diff)
blob: add blob_buf_grow()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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 557899d..d78115f 100644
--- a/blob.h
+++ b/blob.h
@@ -238,6 +238,7 @@ extern void blob_set_raw_len(struct blob_attr *attr, unsigned int len);
extern bool blob_attr_equal(const struct blob_attr *a1, const struct blob_attr *a2);
extern int blob_buf_init(struct blob_buf *buf, int id);
extern void blob_buf_free(struct blob_buf *buf);
+extern void blob_buf_grow(struct blob_buf *buf, int required);
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);