X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=json.h;h=d7017e0662ce499c8e01e79a761128fe006382f4;hp=962c11c24e30673b1230ebbec91139b528e17bf2;hb=b6e71b39c8fbdb2c48d4f60d373ba802f07c37cf;hpb=a606a802173272002e37be6475802be8c37481d6 diff --git a/json.h b/json.h index 962c11c2..d7017e06 100644 --- a/json.h +++ b/json.h @@ -1,5 +1,8 @@ #ifndef __JSON__H #define __JSON__H + +#include "lib/output_buffer.h" + struct json_object; struct json_array; struct json_pair; @@ -76,5 +79,5 @@ int json_array_add_value_type(struct json_array *array, int type, ...); #define json_array_last_value_object(obj) \ (obj->values[obj->value_cnt - 1]->object) -void json_print_object(struct json_object *obj); +void json_print_object(struct json_object *obj, struct buf_output *out); #endif