MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
22 {
27  struct printbuf *_pb;
28  union data {
30  double c_double;
31  int64_t c_int64;
32  struct lh_table *c_object;
34  struct { char *str; int len; } c_string;
35  struct { enum json_extarr_type type; struct array_list *dims; void const *data; } c_extarr;
36  struct { struct lh_table *choices; int64_t choice; } c_enum;
37  } o;
39  void *_userdata;
40 };
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
json_object_private_delete_fn * _delete
struct printbuf * _pb
union json_object::data o
struct json_object::data::@2 c_enum
struct lh_table * c_object
int json_bool
Definition: json_object.h:80
void( json_object_delete_fn)(struct json_object *jso, void *userdata)
Definition: json_object.h:94
json_extarr_type
Definition: json_object.h:120
enum json_type o_type
struct json_object::data::@1 c_extarr
int( json_object_to_json_string_fn)(struct json_object *jso, struct printbuf *pb, int level, int flags)
Definition: json_object.h:99
json_object_to_json_string_fn * _to_json_string
struct json_object::data::@0 c_string
struct array_list * c_array
void( json_object_private_delete_fn)(struct json_object *o)
json_type
Definition: json_object.h:107
json_object_delete_fn * _user_delete