xref: /illumos-gate/usr/src/lib/libresolv2/common/mapfile-vers (revision 1e8d79d21400b4e47d64ce367181e7e5ce992649)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40$mapfile_version 2
41
42SYMBOL_VERSION SUNW_2.3 {	# SunOS 5.11 (Solaris 11)
43    global:
44	SUNW_2.3;	# Defined to create a non-weak version of SUNW_2.3.
45} SUNW_2.2.2;
46
47SYMBOL_VERSION SUNW_2.2.2 {	# SunOS 5.10 (Solaris 10 Update 5)
48    global:
49	inet_aton	{ TYPE = FUNCTION; FILTER = libc.so.1; };
50} SUNW_2.2.1;
51
52SYMBOL_VERSION SUNW_2.2.1 {	# SunOS 5.10 (Solaris 10 Update 4)
53    global:
54	res_ndestroy;
55} SUNW_2.2;
56
57SYMBOL_VERSION SUNW_2.2 {	# SunOS 5.9 (Solaris 9)
58    global:
59	fp_resstat;
60	herror;
61	res_hostalias;
62	res_nclose;
63	res_ninit;
64	res_nmkquery;
65	res_nquery;
66	res_nquerydomain;
67	res_nsearch;
68	res_nsend;
69	res_nsendsigned;
70} SUNW_2.1;
71
72SYMBOL_VERSION SUNW_2.1 {	# SunOS 5.6 (Solaris 2.6)
73    global:
74	dn_comp;
75	dn_expand;
76	__dn_skipname;
77	__fp_query;
78	_getlong;
79	_getshort;
80	h_errno	{
81		  SIZE = 4;
82		  FLAGS = NODIRECT;
83		  FILTER = libnsl.so.1;
84		};
85	__hostalias;
86	hstrerror;
87	__p_cdname;
88	__p_class;
89	__p_query;
90	__p_time;
91	__p_type;
92	__putlong;
93$if _ELF64
94	_res	{ ASSERT = { TYPE = OBJECT; SIZE = 552; }; };
95$elif _ELF32
96	_res	{ ASSERT = { TYPE = OBJECT; SIZE = 512; }; };
97$else
98$error unknown ELFCLASS
99$endif
100	res_init;
101	res_mkquery;
102	res_query;
103	res_querydomain;
104	res_search;
105	res_send;
106	res_update;
107};
108
109# There really should be only one SUNWprivate version.
110# Don't add any more.  Add new private symbols to SUNWprivate_2.2
111
112SYMBOL_VERSION SUNWprivate_2.2 {
113    global:
114	isc_gethexstring;
115	isc_puthexstring;
116	__log_close_debug_channels;
117	__memactive;
118	__ns_name_pton2;
119	p_sockun;
120	res_gethostbyname2;
121	res_getservers;
122	res_nametoclass;
123	res_nametotype;
124	res_nopt;
125	res_setservers;
126} SUNWprivate_2.1;
127
128SYMBOL_VERSION SUNWprivate_2.1 {
129    global:
130	__assertion_failed	{
131				  ASSERT = {
132					  TYPE = OBJECT;
133					  SIZE = addrsize;
134					};
135				};
136	assertion_type_to_text;
137	b64_ntop;
138	__b64_ntop;
139	b64_pton;
140	__b64_pton;
141	__ctl_client;
142	__ctl_command;
143	__ctl_endclient;
144	__ctl_endserver;
145	__ctl_getcsctx;
146	__ctl_response;
147	__ctl_sendhelp;
148	__ctl_server;
149	__ctl_setcsctx;
150	daemon			{ TYPE = FUNCTION; FILTER = libc.so.1; };
151	dn_count_labels;
152	__dn_count_labels;
153	dn_skipname;
154	__dst_buffer_to_key;
155	__dst_check_algorithm;
156	__dst_dnskey_to_key;
157	__dst_free_key;
158	__dst_generate_key;
159	__dst_init;
160	__dst_key_to_buffer;
161	__dst_read_key;
162	__dst_s_calculate_bits;
163	__dst_s_dns_key_id;
164	__dst_s_get_int16;
165	__dst_s_id_calc;
166	__dst_sign_data;
167	__dst_s_put_int16;
168	__dst_s_verify_str;
169	dst_t_func		{
170				  ASSERT = {
171					  TYPE = OBJECT;
172					  SIZE = addrsize[158];
173					};
174				};
175	__dst_verify_data;
176	__dst_write_key;
177	__evAddTime;
178	__evCancelConn;
179	__evCancelRW;
180	__evClearTimer;
181	__evConnect;
182	__evConsIovec;
183	__evConsTime;
184	__evCreate;
185	__evDeselectFD;
186	__evDestroy;
187	__evDispatch;
188	__evDo;
189	__evGetNext;
190	__evHighestFD;
191	__evListen;
192	__evNowTime;
193	__evRead;
194	__evResetTimer;
195	__evSelectFD;
196	__evSetDebug;
197	__evSetTimer;
198	__evTimeVal;
199	__evUnwait;
200	__evWaitFor;
201	fp_nquery;
202	__fp_nquery;
203	fp_query;
204	__fp_resstat;
205	h_errlist		{
206				  ASSERT = {
207					  TYPE = OBJECT;
208					  SIZE = addrsize[5];
209					};
210				};
211	__h_errno;
212	__h_errno_set;
213	hostalias;
214	inet_cidr_ntop;
215	inet_cidr_pton;
216	inet_neta;
217	inet_net_ntop;
218	inet_net_pton;
219	inet_nsap_addr;
220	inet_nsap_ntoa;
221	__irs_destroy;
222	__ISC_res_freeupdrec;
223	__ISC_res_mkupdate;
224	__ISC_res_mkupdrec;
225	__ISC_res_nmkupdate;
226	__ISC_res_nupdate;
227	__ISC_res_update;
228	key_file_fmt_str	{
229				  ASSERT = {
230					  TYPE = OBJECT;
231					  SIZE = addrsize;
232					};
233				};
234	loc_aton;
235	__loc_aton;
236	loc_ntoa;
237	__loc_ntoa;
238	__log_add_channel;
239	__log_category_is_active;
240	__log_check;
241	__log_close_stream;
242	__log_free_channel;
243	__log_free_context;
244	__log_get_channel_type;
245	__log_get_stream;
246	__log_inc_references;
247	__log_new_context;
248	__log_new_file_channel;
249	__log_new_null_channel;
250	__log_new_syslog_channel;
251	__log_open_stream;
252	__log_option;
253	__log_set_file_owner;
254	__log_vwrite;
255	__log_write;
256	__memget;
257	__memget_record;
258	__memput;
259	__memput_record;
260	__memstats;
261	__net_data_init;
262	__net_data_minimize;
263	__ns_datetosecs;
264	__ns_find_tsig;
265	_ns_flagdata		{
266				  ASSERT = {
267					  TYPE = OBJECT;
268					  SIZE = 128;
269					};
270				};
271	__ns_format_ttl;
272	__ns_get16;
273	__ns_get32;
274	__ns_initparse;
275	__ns_makecanon;
276	__ns_msg_getflag;
277	__ns_name_compress;
278	__ns_name_eq;
279	__ns_name_labels;
280	__ns_name_length;
281	__ns_name_map;
282	__ns_name_ntol;
283	__ns_name_ntop;
284	__ns_name_owned;
285	__ns_name_pack;
286	__ns_name_pton;
287	__ns_name_rollback;
288	__ns_name_skip;
289	__ns_name_uncompress;
290	__ns_name_unpack;
291	__ns_newmsg_copy;
292	__ns_newmsg_done;
293	__ns_newmsg_flag;
294	__ns_newmsg_id;
295	__ns_newmsg_init;
296	__ns_newmsg_q;
297	__ns_newmsg_rr;
298	__ns_parserr;
299	__ns_parse_ttl;
300	__ns_parserr2;
301	__ns_put16;
302	__ns_put32;
303	__ns_rdata_equal;
304	__ns_rdata_refers;
305	__ns_rdata_unpack;
306	__ns_samedomain;
307	__ns_samename;
308	__ns_sign;
309	__ns_sign2;
310	__ns_sign_tcp;
311	__ns_sign_tcp2;
312	__ns_sign_tcp_init;
313	__ns_skiprr;
314	__ns_sprintrr;
315	__ns_sprintrrf;
316	__ns_verify;
317	__ns_verify_tcp;
318	__ns_verify_tcp_init;
319	p_cdname;
320	__p_cert_syms		{
321				  ASSERT = {
322					  TYPE = OBJECT;
323					  SIZE = addrsize[18];
324					};
325				};
326	p_class;
327	__p_class_syms		{
328				  ASSERT = {
329					  TYPE = OBJECT;
330					  SIZE = addrsize[24];
331					};
332				};
333	p_fqnname;
334	__p_key_syms		{
335				  ASSERT = {
336					  TYPE = OBJECT;
337					  SIZE = addrsize[18];
338					};
339				};
340	p_option;
341	__p_option;
342	p_query;
343	p_rcode;
344	p_secstodate;
345	__p_secstodate;
346	p_section;
347	__p_section;
348	p_time;
349	p_type;
350	__p_type_syms		{
351				  ASSERT = {
352					  TYPE = OBJECT;
353					  SIZE = addrsize[207];
354					};
355				};
356	putlong;
357	putshort;
358	__putshort;
359	res_close;
360	__res_disable_mt;
361	res_dnok;
362	__res_dnok;
363	__res_enable_mt;
364	res_endhostent;
365	res_findzonecut;
366	res_freehostent;
367	res_freeupdrec;
368	__res_get_h_errno;
369	res_gethostbyaddr;
370	res_gethostbyname;
371	res_gethostent;
372	res_getipnodebyaddr;
373	res_getipnodebyname;
374	__res_get_res;
375	res_hnok;
376	__res_hnok;
377	res_isourserver;
378	res_mailok;
379	__res_mailok;
380	res_mkupdate;
381	res_mkupdrec;
382	res_nameinquery;
383	__res_nameinquery;
384	res_nisourserver;
385	res_nmkupdate;
386	res_nupdate;
387	__res_no_hosts_fallback;
388	_res_opcodes		{
389				  ASSERT = {
390					  TYPE = OBJECT;
391					  SIZE = addrsize[16];
392					};
393				};
394	__res_override_retry;
395	res_ownok;
396	__res_ownok;
397	res_pquery;
398	res_queriesmatch;
399	__res_queriesmatch;
400	res_rndinit;
401	res_randomid;
402	__res_randomid;
403	res_sendsigned;
404	res_sethostent;
405	__res_set_no_hosts_fallback;
406	__res_state;
407	__res_unset_no_hosts_fallback;
408	set_assertion_failure_callback;
409	sym_ntop;
410	__sym_ntop;
411	sym_ntos;
412	__sym_ntos;
413	sym_ston;
414	__sym_ston;
415	__tree_add;
416	__tree_init;
417	__tree_mung;
418	__tree_srch;
419	__tree_trav;
420    local:
421	*;
422};
423