Imported Upstream version 0.17
[platform/upstream/json-c.git] / json-c.sym
1
2 /*
3  * Symbol versioning for libjson-c.
4  * All exported symbols must be listed here.
5  *
6  * See 
7  *   https://software.intel.com/sites/default/files/m/a/1/e/dsohowto.pdf
8  */
9
10 /*
11  * Symbols in JSONC_PRIVATE are exported for historical
12  * reasons, but should not be used outside of json-c.
13  */
14 JSONC_PRIVATE {
15     array_list_add;
16     array_list_del_idx;
17     array_list_free;
18     array_list_new;
19     array_list_put_idx;
20     array_list_sort;
21     json_hex_chars;
22     json_parse_double;
23     json_parse_int64;
24     json_parse_uint64;
25     lh_table_delete;
26     lh_table_delete_entry;
27     lh_table_free;
28     lh_table_insert;
29     lh_table_insert_w_hash;
30     lh_table_new;
31     lh_table_resize;
32     mc_debug;
33     mc_error;
34     mc_get_debug;
35     mc_info;
36     mc_set_debug;
37     mc_set_syslog;
38     printbuf_free;
39     printbuf_memappend;
40     printbuf_memset;
41     printbuf_new;
42     printbuf_reset;
43     sprintbuf;
44     # Used by tests:
45     _json_c_strerror;
46 };
47
48 JSONC_0.14 {
49   global:
50     array_list_bsearch;
51     array_list_get_idx;
52     array_list_length;
53     json_c_get_random_seed;
54     json_c_object_sizeof;
55     json_c_set_serialization_double_format;
56     json_c_shallow_copy_default;
57     json_c_version;
58     json_c_version_num;
59     json_c_visit;
60     json_global_set_string_hash;
61     json_number_chars;
62     json_object_array_add;
63     json_object_array_bsearch;
64     json_object_array_del_idx;
65     json_object_array_get_idx;
66     json_object_array_length;
67     json_object_array_put_idx;
68     json_object_array_sort;
69     json_object_deep_copy;
70     json_object_double_to_json_string;
71     json_object_equal;
72     json_object_free_userdata;
73     json_object_from_fd;
74     json_object_from_fd_ex;
75     json_object_from_file;
76     json_object_get;
77     json_object_get_array;
78     json_object_get_boolean;
79     json_object_get_double;
80     json_object_get_int64;
81     json_object_get_int;
82     json_object_get_object;
83     json_object_get_string;
84     json_object_get_string_len;
85     json_object_get_type;
86     json_object_get_uint64;
87     json_object_get_userdata;
88     json_object_int_inc;
89     json_object_is_type;
90     json_object_iter_begin;
91     json_object_iter_end;
92     json_object_iter_equal;
93     json_object_iter_init_default;
94     json_object_iter_next;
95     json_object_iter_peek_name;
96     json_object_iter_peek_value;
97     json_object_new_array;
98     json_object_new_boolean;
99     json_object_new_double;
100     json_object_new_double_s;
101     json_object_new_int64;
102     json_object_new_int;
103     json_object_new_null;
104     json_object_new_object;
105     json_object_new_string;
106     json_object_new_string_len;
107     json_object_new_uint64;
108     json_object_object_add;
109     json_object_object_add_ex;
110     json_object_object_del;
111     json_object_object_get;
112     json_object_object_get_ex;
113     json_object_object_length;
114     json_object_put;
115     json_object_set_boolean;
116     json_object_set_double;
117     json_object_set_int64;
118     json_object_set_int;
119     json_object_set_serializer;
120     json_object_set_string;
121     json_object_set_string_len;
122     json_object_set_uint64;
123     json_object_set_userdata;
124     json_object_to_fd;
125     json_object_to_file;
126     json_object_to_file_ext;
127     json_object_to_json_string;
128     json_object_to_json_string_ext;
129     json_object_to_json_string_length;
130     json_object_userdata_to_json_string;
131     json_pointer_get;
132     json_pointer_getf;
133     json_pointer_set;
134     json_pointer_setf;
135     json_tokener_error_desc;
136     json_tokener_free;
137     json_tokener_get_error;
138     json_tokener_get_parse_end;
139     json_tokener_new;
140     json_tokener_new_ex;
141     json_tokener_parse;
142     json_tokener_parse_ex;
143     json_tokener_parse_verbose;
144     json_tokener_reset;
145     json_tokener_set_flags;
146     json_type_to_name;
147     json_util_get_last_err;
148     lh_char_equal;
149     lh_kchar_table_new;
150     lh_kptr_table_new;
151     lh_ptr_equal;
152     lh_table_length;
153     lh_table_lookup_entry;
154     lh_table_lookup_entry_w_hash;
155     lh_table_lookup_ex;
156
157   local:
158     *;
159 };
160
161 JSONC_0.15 {
162   global:
163     array_list_new2;
164     array_list_shrink;
165     json_object_array_shrink;
166     json_object_new_array_ext;
167 } JSONC_0.14;
168
169 JSONC_0.16 {
170 # No new symbols in 0.16
171 } JSONC_0.15;
172
173 JSONC_0.17 {
174   global:
175     json_object_array_insert_idx;
176     json_patch_apply;
177 #    array_list_insert_idx is intentionally not exported
178 } JSONC_0.16;