json_object_private.h
Go to the documentation of this file.
1 /*
2  * $Id: json_object_private.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
3  *
4  * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5  * Michael Clark <michael@metaparadigm.com>
6  *
7  * This library is free software; you can redistribute it and/or modify
8  * it under the terms of the MIT license. See COPYING for details.
9  *
10  */
11 
12 #ifndef _json_object_private_h_
13 #define _json_object_private_h_
14 
15 #include "json_object.h"
16 
17 typedef void (json_object_delete_fn)(struct json_object *o);
19  struct printbuf *pb);
20 
22 {
27  struct printbuf *_pb;
28  union data {
29  boolean c_boolean;
30  double c_double;
31  int c_int;
32  struct lh_table *c_object;
34  char *c_string;
35  } o;
36 };
37 
38 /* CAW: added for ANSI C iteration correctness */
40 {
41  char *key;
42  struct json_object *val;
43  struct lh_entry *entry;
44 };
45 
46 #endif
json_object_delete_fn * _delete
struct lh_entry * entry
union json_object::data o
struct lh_table * c_object
void( json_object_delete_fn)(struct json_object *o)
struct json_object * val
struct array_list * c_array
int( json_object_to_json_string_fn)(struct json_object *o, struct printbuf *pb)
struct printbuf * _pb
enum json_type o_type
json_type
Definition: json_object.h:37
json_object_to_json_string_fn * _to_json_string
Definition: linkhash.h:48


csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23