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