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:
authorewolfok <ewolfok@126.com>2014-07-08 17:43:58 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-07-26 05:50:50 +0400
commit22bbcfddd7b2061343b773c3180f318e71b8d6d7 (patch)
treee9d61f2ea22ec6a44717ee64b695277f9c88d73e /blob.h
parentf3977836afc82ce32c203173bd393789e05a123e (diff)
blob: improve out-of-memory handling
Signed-off-by: Chen Bin <ewolfok@126.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blob.h')
-rw-r--r--blob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/blob.h b/blob.h
index 595834d..ab077ea 100644
--- a/blob.h
+++ b/blob.h
@@ -191,7 +191,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 bool 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);