blobmsg_json: allow signed output of integers
[project/libubox.git] / blobmsg_json.h
index 45ebd6df06347e911097ee95af575986beb15401..e8036eb09a737650d932613c02c6adb6d240e0a6 100644 (file)
@@ -28,6 +28,7 @@
 bool blobmsg_add_object(struct blob_buf *b, json_object *obj);
 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);
+bool blobmsg_add_json_from_file(struct blob_buf *b, const char *file);
 
 typedef const char *(*blobmsg_json_format_t)(void *priv, struct blob_attr *attr);