projects
/
project
/
libubox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add a json to blobmsg parsing library
[project/libubox.git]
/
blobmsg_json.h
1
#ifndef __BLOBMSG_JSON_H
2
#define __BLOBMSG_JSON_H
3
4
#include <json/json.h>
5
#include <stdbool.h>
6
7
struct
blob_buf
;
8
9
bool
blobmsg_add_json_element
(
struct
blob_buf
*
b
,
const char
*
name
,
json_object
*
obj
);
10
bool
blobmsg_add_json_from_string
(
struct
blob_buf
*
b
,
const char
*
str
);
11
12
#endif