diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-02-10 23:43:33 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-02-10 23:43:33 +0400 |
commit | b786f852674769813061474366e936fe6e5bd22e (patch) | |
tree | 9e80e2a6812115c99e0319a82bf302b835e59ac1 /blob.h | |
parent | 9a3519536b7497a1423fbfa7e8981212a30f1793 (diff) |
blob: add blob_buf_grow()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blob.h')
-rw-r--r-- | blob.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |