diff options
Diffstat (limited to 'src/jansson.h')
-rw-r--r-- | src/jansson.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jansson.h b/src/jansson.h index 74f11a0..b5a4d15 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -273,6 +273,7 @@ typedef size_t (*json_load_callback_t)(void *buffer, size_t buflen, void *data); json_t *json_loads(const char *input, size_t flags, json_error_t *error); json_t *json_loadb(const char *buffer, size_t buflen, size_t flags, json_error_t *error); json_t *json_loadf(FILE *input, size_t flags, json_error_t *error); +json_t *json_loadfd(int input, size_t flags, json_error_t *error); json_t *json_load_file(const char *path, size_t flags, json_error_t *error); json_t *json_load_callback(json_load_callback_t callback, void *data, size_t flags, json_error_t *error); @@ -294,6 +295,7 @@ typedef int (*json_dump_callback_t)(const char *buffer, size_t size, void *data) char *json_dumps(const json_t *json, size_t flags); size_t json_dumpb(const json_t *json, char *buffer, size_t size, size_t flags); int json_dumpf(const json_t *json, FILE *output, size_t flags); +int json_dumpfd(const json_t *json, int output, size_t flags); int json_dump_file(const json_t *json, const char *path, size_t flags); int json_dump_callback(const json_t *json, json_dump_callback_t callback, void *data, size_t flags); |