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