xref: /illumos-gate/usr/src/lib/libresolv/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#
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
41# Due to mistakes made early in the history of this library, there are
42# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
43# Don't add any symbols to this version.
44
45SYMBOL_VERSION SUNW_1.1 {
46    global:
47	SUNW_1.1;
48} SUNW_0.7;
49
50SYMBOL_VERSION SUNW_0.7 {
51    global:
52	dn_comp;
53	dn_expand;
54	dn_skipname;
55	fp_query;
56	_getlong;
57	_getshort;
58	h_errno		{ FLAGS = NODIRECT; FILTER = libnsl.so.1; };
59	hostalias;
60	p_cdname;
61	p_class;
62	p_query;
63	p_rr;
64	p_time;
65	p_type;
66	putlong;
67	_res		{
68			  ASSERT = {
69				  TYPE = OBJECT;
70				  SIZE = addrsize[99];
71				};
72			};
73	res_init;
74	res_mkquery;
75	res_query;
76	res_querydomain;
77	res_search;
78	res_send;
79	strcasecmp	{ TYPE = FUNCTION; FILTER = libc.so.1; };
80	strncasecmp	{ TYPE = FUNCTION; FILTER = libc.so.1; };
81};
82
83SYMBOL_VERSION SUNWprivate_1.1 {
84    global:
85	res_endhostent;
86	res_gethostbyaddr;
87	res_gethostbyname;
88	_res_opcodes		{
89				  ASSERT = {
90					  TYPE = OBJECT;
91					  SIZE = addrsize[16];
92					};
93				};
94	_res_resultcodes	{
95				  ASSERT = {
96					  TYPE = OBJECT;
97					  SIZE = addrsize[16];
98					};
99				};
100	res_sethostent;
101	__res_set_no_hosts_fallback;
102    local:
103	*;
104};
105