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::_to_json_string
json_object_to_json_string_fn * _to_json_string
Definition: json_object_private.h:25
json_object::data::c_string
char * c_string
Definition: json_object_private.h:34
json_object::_pb
struct printbuf * _pb
Definition: json_object_private.h:27
lh_table
Definition: linkhash.h:71
printbuf
Definition: printbuf.h:17
json_type
json_type
Definition: json_object.h:37
json_object_iter
Definition: json_object_private.h:39
json_object::data::c_array
struct array_list * c_array
Definition: json_object_private.h:33
json_object::o_type
enum json_type o_type
Definition: json_object_private.h:23
json_object::data::c_double
double c_double
Definition: json_object_private.h:30
json_object::data::c_boolean
boolean c_boolean
Definition: json_object_private.h:29
json_object_iter::entry
struct lh_entry * entry
Definition: json_object_private.h:43
json_object_delete_fn
void() json_object_delete_fn(struct json_object *o)
Definition: json_object_private.h:17
json_object_iter::val
struct json_object * val
Definition: json_object_private.h:42
json_object.h
json_object_iter::key
char * key
Definition: json_object_private.h:41
json_object_to_json_string_fn
int() json_object_to_json_string_fn(struct json_object *o, struct printbuf *pb)
Definition: json_object_private.h:18
lh_entry
Definition: linkhash.h:48
json_object::data::c_int
int c_int
Definition: json_object_private.h:31
json_object::data
Definition: json_object_private.h:28
json_object::data::c_object
struct lh_table * c_object
Definition: json_object_private.h:32
array_list
Definition: arraylist.h:19
json_object
Definition: json_object_private.h:21
json_object::_delete
json_object_delete_fn * _delete
Definition: json_object_private.h:24
json_object::o
union json_object::data o
json_object::_ref_count
int _ref_count
Definition: json_object_private.h:26


csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:33