Source
284
284
{
285
285
const char *start;
286
286
const char *end;
287
287
};
288
288
289
289
const char *zbx_json_strerror(void);
290
290
291
291
void zbx_json_init(struct zbx_json *j, size_t allocate);
292
292
void zbx_json_initarray(struct zbx_json *j, size_t allocate);
293
293
void zbx_json_clean(struct zbx_json *j);
294
-
void zbx_json_cleanarray(struct zbx_json *j);
295
294
void zbx_json_free(struct zbx_json *j);
296
295
void zbx_json_addobject(struct zbx_json *j, const char *name);
297
296
void zbx_json_addarray(struct zbx_json *j, const char *name);
298
297
void zbx_json_addstring(struct zbx_json *j, const char *name, const char *string, zbx_json_type_t type);
299
298
void zbx_json_adduint64(struct zbx_json *j, const char *name, zbx_uint64_t value);
300
299
void zbx_json_addint64(struct zbx_json *j, const char *name, zbx_int64_t value);
301
300
void zbx_json_addraw(struct zbx_json *j, const char *name, const char *data);
302
301
void zbx_json_addfloat(struct zbx_json *j, const char *name, double value);
303
302
void zbx_json_adddouble(struct zbx_json *j, const char *name, double value);
304
303
int zbx_json_close(struct zbx_json *j);