blobmsg_json_format_tcb,void*priv, intindent); staticinlinechar*blobmsg_format_json_value(structblob_attr*attr) { returnblobmsg_format_json_value_with_cb(attr,NULL,NULL,-1); } staticinlinechar*blobmsg_format_json_value_indent(structblob_attr*attr,intindent) ...
bool blobmsg_add_json_from_string(struct blob_buf *b, const char *str) { return __blobmsg_add_json(b, json_tokener_parse(str)); } struct strbuf { int len; int pos; char *buf; blobmsg_json_format_t custom_format; void *priv; bool indent; int indent_level; };...
format_json(struct blob_attr *attr, bool list) { return blobmsg_format_json_with_cb(attr, list, NULL, NULL, -1); } static inline char *blobmsg_format_json_indent(struct blob_attr *attr, bool list, int indent) { return blobmsg_format_json_with_cb(attr, list, NULL, NULL, indent);...