remove pkg*.h & libadm pkg code
[unleashed.git] / usr / src / lib / libadm / common / mapfile-vers
blob3db9878a5dc403e5e35fe65396790fe769811b31
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
26 # MAPFILE HEADER START
28 # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29 # Object versioning must comply with the rules detailed in
31 #       usr/src/lib/README.mapfiles
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.
36 # MAPFILE HEADER END
39 $mapfile_version 2
41 SYMBOL_VERSION SUNW_1.2 {
42     global:
43         read_extvtoc;
44         write_extvtoc;
45 } SUNW_1.1;
47 # Due to mistakes made early in the history of this library, there are
48 # no SUNW_1.1 symbols, but the version is now kept as a placeholder.
49 # Don't add any symbols to this version.
51 SYMBOL_VERSION SUNW_1.1 {
52     global:
53         SUNW_1.1;
54 } SUNW_0.7;
56 SYMBOL_VERSION SUNW_0.7 {
57     global:
58         read_vtoc;
59         write_vtoc;
62 SYMBOL_VERSION SUNWprivate_1.1 {
63     global:
64         _adddevtabrec;
65         _adddgrptabrec;
66         allocmenu;
67         ckdate;
68         ckdate_err;
69         ckdate_hlp;
70         ckdate_val;
71         ckgid;
72         ckgid_dsp;
73         ckgid_err;
74         ckgid_hlp;
75         ckgid_val;
76         ckindent;
77         ckint;
78         ckint_err;
79         ckint_hlp;
80         ckint_val;
81         ckitem;
82         ckitem_err;
83         ckitem_hlp;
84         ckkeywd;
85         ckpath;
86         ckpath_err;
87         ckpath_hlp;
88         ckpath_stx;
89         ckpath_val;
90         ckquit;
91         ckrange;
92         ckrange_err;
93         ckrange_hlp;
94         ckrange_val;
95         ckstr;
96         ckstr_err;
97         ckstr_hlp;
98         ckstr_val;
99         cktime;
100         cktime_err;
101         cktime_hlp;
102         cktime_val;
103         ckuid;
104         ckuid_dsp;
105         ckuid_err;
106         ckuid_hlp;
107         ckuid_val;
108         ckwidth;
109         ckyorn;
110         ckyorn_err;
111         ckyorn_hlp;
112         ckyorn_val;
113         devattr;
114         devfree;
115         devreserv;
116         _devtabpath;
117         _dgrptabpath;
118         _enddevtab;
119         getdev;
120         getdgrp;
121         getfullblkname;
122         getfullrawname;
123         getinput;
124         getvol;
125         _getvol;
126         listdev;
127         listdgrp;
128         _moddevtabrec;
129         _opendevtab;
130         _opendgrptab;
131         printmenu;
132         puterror;
133         puthelp;
134         putprmpt;
135         puttext;
136         reservdev;
137         _rmdevtabattrs;
138         _rmdevtabrec;
139         _rmdgrpmems;
140         _rmdgrptabrec;
141         _rsvtabpath;
142         setinvis;
143         setitem;
144         _validalias;
145     local:
146         *;
150 $if _sparc || (_x86 && _ELF32)
151 # The following applies to sparc (32/64-bit), and 32-bit x86:
153 # It was a mistake ever to have exported these symbols from libadm.
154 # They are now being redirected to libgen where they really belong,
155 # except for 'circf' and 'sed', which do not exist in libgen and
156 # are being retained as dummy variables in libadm.
158 SYMBOL_VERSION SUNW_0.7 {
159     global:
160         circf;
161         sed;
162         nbra            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
163 $if _ELF32
164         loc1            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
165         loc2            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
166         locs            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
167 $elif _ELF64
168         loc1            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
169         loc2            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
170         locs            { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
171 $else
172 $error unknown ELFCLASS
173 $endif
176 SYMBOL_VERSION SUNWprivate_1.1 {
177     global:
178         advance         { TYPE = FUNCTION; FILTER = libgen.so.1 };
179         compile         { TYPE = FUNCTION; FILTER = libgen.so.1 };
180         step            { TYPE = FUNCTION; FILTER = libgen.so.1 };
182 $endif