add a blobmsg-to-json function
[project/libubox.git] / blobmsg.h
index 8594add0322879908eb19f0d9c01cbef694f3724..c64cedbf831c5d66e9a45e94ad30ddce7de8fd49 100644 (file)
--- a/blobmsg.h
+++ b/blobmsg.h
@@ -139,4 +139,6 @@ static inline int blobmsg_buf_init(struct blob_buf *buf)
        return blob_buf_init(buf, BLOBMSG_TYPE_TABLE);
 }
 
+char *blobmsg_format_json(struct blob_attr *attr);
+
 #endif