2 * $Id: json_object_private.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
4 * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5 * Michael Clark <michael@metaparadigm.com>
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.
12 #ifndef _json_object_private_h_
13 #define _json_object_private_h_
19 typedef void (json_object_delete_fn)(struct json_object *o);
20 typedef int (json_object_to_json_string_fn)(struct json_object *o,
25 enum json_type o_type;
26 json_object_delete_fn *_delete;
27 json_object_to_json_string_fn *_to_json_string;
34 struct lh_table *c_object;
35 struct array_list *c_array;
40 /* CAW: added for ANSI C iteration correctness */
41 struct json_object_iter
44 struct json_object *val;
45 struct lh_entry *entry;