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
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-29 14:14:40 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-05-29 14:14:48 +0400
commit54a0b49326904fc3281c72cd9d9f1fe950e39d05 (patch)
treeebbf9531e88cf097f6f29d8072b753d696c07cc9 /blobmsg_json.h
parentc4b79e4b5448abcd04c1848e212a237e8b17c3de (diff)
blobmsg_json: add blobmsg_add_json_from_file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blobmsg_json.h')
-rw-r--r--blobmsg_json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blobmsg_json.h b/blobmsg_json.h
index 45ebd6d..e8036eb 100644
--- a/blobmsg_json.h
+++ b/blobmsg_json.h
@@ -28,6 +28,7 @@
bool blobmsg_add_object(struct blob_buf *b, json_object *obj);
bool blobmsg_add_json_element(struct blob_buf *b, const char *name, json_object *obj);
bool blobmsg_add_json_from_string(struct blob_buf *b, const char *str);
+bool blobmsg_add_json_from_file(struct blob_buf *b, const char *file);
typedef const char *(*blobmsg_json_format_t)(void *priv, struct blob_attr *attr);