From 7e9712363b23faf80ba207793fcbcc94bc4bd053 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 Feb 2011 16:14:15 +0100 Subject: add a json to blobmsg parsing library --- blobmsg_json.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 blobmsg_json.h (limited to 'blobmsg_json.h') 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 +#include + +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 -- cgit v1.2.3