summaryrefslogtreecommitdiff
path: root/json_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'json_util.h')
-rw-r--r--json_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/json_util.h b/json_util.h
index 387dbc4..f6fc52c 100644
--- a/json_util.h
+++ b/json_util.h
@@ -31,6 +31,7 @@ extern "C" {
/* utility functions */
extern struct json_object* json_object_from_file(const char *filename);
+extern struct json_object* json_object_from_fd(int fd);
extern int json_object_to_file(const char *filename, struct json_object *obj);
extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
extern int json_parse_int64(const char *buf, int64_t *retval);