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>2011-02-06 18:14:15 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-02-06 18:14:15 +0300
commit7e9712363b23faf80ba207793fcbcc94bc4bd053 (patch)
tree471c3e995ed7af75de7470322ed2d817e4ea7094 /blobmsg_json.h
parentbf87f247d8cf83a88626e9bf4edfb8711c115a2c (diff)
add a json to blobmsg parsing library
Diffstat (limited to 'blobmsg_json.h')
-rw-r--r--blobmsg_json.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/blobmsg_json.h b/blobmsg_json.h
new file mode 100644
index 0000000..9374f42
--- /dev/null
+++ b/blobmsg_json.h
@@ -0,0 +1,12 @@
+#ifndef __BLOBMSG_JSON_H
+#define __BLOBMSG_JSON_H
+
+#include <json/json.h>
+#include <stdbool.h>
+
+struct blob_buf;
+
+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);
+
+#endif