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 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28SUNW_2.3 {		# SunOS 5.11 (Solaris 11)
29    global:
30	SUNW_2.3;	# Defined to create a non-weak version of SUNW_2.3.
31} SUNW_2.2.2;
32
33SUNW_2.2.2 {		# SunOS 5.10 (Solaris 10 Update 5)
34    global:
35	inet_aton = FUNCTION FILTER libnsl.so.1;
36} SUNW_2.2.1;
37
38SUNW_2.2.1 {		# SunOS 5.10 (Solaris 10 Update 4)
39    global:
40	res_ndestroy;
41} SUNW_2.2;
42
43SUNW_2.2 {		# SunOS 5.9 (Solaris 9)
44    global:
45	fp_resstat;
46	herror;
47	res_hostalias;
48	res_nclose;
49	res_ninit;
50	res_nmkquery;
51	res_nquery;
52	res_nquerydomain;
53	res_nsearch;
54	res_nsend;
55	res_nsendsigned;
56} SUNW_2.1;
57
58SUNW_2.1 {		# SunOS 5.6 (Solaris 2.6)
59    global:
60	dn_comp;
61	dn_expand;
62	__dn_skipname;
63	__fp_query;
64	_getlong;
65	_getshort;
66	h_errno = NODIRECT FILTER libnsl.so.1;
67	__hostalias;
68	hstrerror;
69	__p_cdname;
70	__p_class;
71	__p_query;
72	__p_time;
73	__p_type;
74	__putlong;
75	_res;
76	res_init;
77	res_mkquery;
78	res_query;
79	res_querydomain;
80	res_search;
81	res_send;
82	res_update;
83};
84
85# There really should be only one SUNWprivate version.
86# Don't add any more.  Add new private symbols to SUNWprivate_2.2
87
88SUNWprivate_2.2 {
89    global:
90	isc_gethexstring;
91	isc_puthexstring;
92	__log_close_debug_channels;
93	__memactive;
94	p_sockun;
95	res_gethostbyname2;
96	res_getservers;
97	res_nametoclass;
98	res_nametotype;
99	res_nopt;
100	res_setservers;
101} SUNWprivate_2.1;
102
103SUNWprivate_2.1 {
104    global:
105	__areweinnamed;
106	__assertion_failed;
107	assertion_type_to_text;
108	b64_ntop;
109	__b64_ntop;
110	b64_pton;
111	__b64_pton;
112	__ctl_client;
113	__ctl_command;
114	__ctl_endclient;
115	__ctl_endserver;
116	__ctl_getcsctx;
117	__ctl_response;
118	__ctl_sendhelp;
119	__ctl_server;
120	__ctl_setcsctx;
121	daemon;
122	dn_count_labels;
123	__dn_count_labels;
124	dn_skipname;
125	dst_buffer_to_key;
126	dst_check_algorithm;
127	dst_dnskey_to_key;
128	dst_free_key;
129	dst_generate_key;
130	dst_init;
131	dst_key_to_buffer;
132	dst_random;
133	dst_read_key;
134	dst_s_calculate_bits;
135	dst_s_conv_bignum_b64_to_u8;
136	dst_s_conv_bignum_u8_to_b64;
137	dst_s_dns_key_id;
138	dst_s_get_int16;
139	dst_s_id_calc;
140	dst_sign_data;
141	dst_s_put_int16;
142	dst_s_verify_str;
143	dst_t_func;
144	dst_verify_data;
145	dst_write_key;
146	__evAddTime;
147	__evCancelConn;
148	__evCancelRW;
149	__evClearTimer;
150	__evConnect;
151	__evConsIovec;
152	__evConsTime;
153	__evCreate;
154	__evDeselectFD;
155	__evDestroy;
156	__evDispatch;
157	__evDo;
158	__evGetNext;
159	__evHighestFD;
160	__evListen;
161	__evNowTime;
162	__evRead;
163	__evResetTimer;
164	__evSelectFD;
165	__evSetDebug;
166	__evSetTimer;
167	__evTimeVal;
168	__evUnwait;
169	__evWaitFor;
170	fp_nquery;
171	__fp_nquery;
172	fp_query;
173	__fp_resstat;
174	h_errlist;
175	__h_errno;
176	__h_errno_set;
177	hostalias;
178	inet_net_ntop;
179	inet_net_pton;
180	inet_nsap_addr;
181	inet_nsap_ntoa;
182	irs_destroy;
183	__ISC_res_freeupdrec;
184	__ISC_res_mkupdate;
185	__ISC_res_mkupdrec;
186	__ISC_res_nmkupdate;
187	__ISC_res_nupdate;
188	__ISC_res_update;
189	key_file_fmt_str;
190	loc_aton;
191	__loc_aton;
192	loc_ntoa;
193	__loc_ntoa;
194	__log_add_channel;
195	__log_category_is_active;
196	__log_check;
197	__log_close_stream;
198	__log_free_channel;
199	__log_free_context;
200	__log_get_channel_type;
201	__log_get_stream;
202	__log_inc_references;
203	__log_new_context;
204	__log_new_file_channel;
205	__log_new_null_channel;
206	__log_new_syslog_channel;
207	__log_open_stream;
208	__log_option;
209	__log_set_file_owner;
210	__log_vwrite;
211	__log_write;
212	__memget;
213	__memget_record;
214	__memput;
215	__memput_record;
216	__memstats;
217	__net_data_init;
218	net_data_minimize;
219	__ns_datetosecs;
220	__ns_find_tsig;
221	_ns_flagdata;
222	__ns_format_ttl;
223	__ns_get16;
224	__ns_get32;
225	__ns_initparse;
226	__ns_makecanon;
227	__ns_msg_getflag;
228	__ns_name_ntol;
229	__ns_name_ntop;
230	__ns_name_pton;
231	__ns_name_rollback;
232	__ns_name_unpack;
233	__ns_parserr;
234	__ns_parse_ttl;
235	__ns_put16;
236	__ns_samedomain;
237	__ns_samename;
238	__ns_sign;
239	__ns_sign2;
240	__ns_sign_tcp;
241	__ns_sign_tcp2;
242	__ns_sign_tcp_init;
243	__ns_skiprr;
244	__ns_sprintrr;
245	__ns_sprintrrf;
246	__ns_verify;
247	__ns_verify_tcp;
248	__ns_verify_tcp_init;
249	p_cdname;
250	__p_cert_syms;
251	p_class;
252	__p_class_syms;
253	p_fqnname;
254	__p_key_syms;
255	p_query;
256	p_rcode;
257	p_secstodate;
258	__p_secstodate;
259	p_section;
260	__p_section;
261	p_time;
262	p_type;
263	__p_type_syms;
264	putlong;
265	putshort;
266	__putshort;
267	res_close;
268	__res_disable_mt;
269	res_dnok;
270	__res_dnok;
271	__res_enable_mt;
272	res_endhostent;
273	res_findzonecut;
274	res_freehostent;
275	res_freeupdrec;
276	__res_get_h_errno;
277	res_gethostbyaddr;
278	res_gethostbyname;
279	res_gethostent;
280	res_getipnodebyaddr;
281	res_getipnodebyname;
282	__res_get_res;
283	res_hnok;
284	__res_hnok;
285	res_isourserver;
286	res_mailok;
287	__res_mailok;
288	res_mkupdate;
289	res_mkupdrec;
290	res_nameinquery;
291	__res_nameinquery;
292	res_nisourserver;
293	_res_opcodes;
294	__res_override_retry;
295	res_ownok;
296	__res_ownok;
297	res_pquery;
298	res_queriesmatch;
299	__res_queriesmatch;
300	res_randomid;
301	__res_randomid;
302	res_sendsigned;
303	res_sethostent;
304	__res_set_no_hosts_fallback;
305	__res_state;
306	__res_unset_no_hosts_fallback;
307	set_assertion_failure_callback;
308	sym_ntop;
309	__sym_ntop;
310	sym_ntos;
311	__sym_ntos;
312	sym_ston;
313	__sym_ston;
314	tree_add;
315	tree_init;
316	tree_mung;
317	tree_srch;
318	tree_trav;
319    local:
320	*;
321};
322