diff options
Diffstat (limited to 'blobmsg_json.h')
-rw-r--r-- | blobmsg_json.h | 12 |
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 |