xref: /titanic_41/usr/src/lib/print/libpapi-dynamic/common/mapfile (revision 989f28072d20c73ae0955d6a1e3e2fc74831cb39)
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#
23# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26#
27# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $
28#
29
30#
31# MAPFILE HEADER START
32#
33# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
34# Object versioning must comply with the rules detailed in
35#
36#	usr/src/lib/README.mapfiles
37#
38# You should not be making modifications here until you've read the most current
39# copy of that file. If you need help, contact a gatekeeper for guidance.
40#
41# MAPFILE HEADER END
42#
43
44$mapfile_version 2
45
46#
47# Common interfaces that are most likely to be shared amongst the various
48# PAPI implementations.
49#
50
51SYMBOL_VERSION SUNW_1.0 {
52    global:
53	# PAPI Attribute Calls
54	papiAttributeListAddValue {
55		TYPE = FUNCTION;
56		FILTER = libpapi-common.so;
57	} ;
58	papiAttributeListAddBoolean {
59		TYPE = FUNCTION;
60		FILTER = libpapi-common.so;
61	} ;
62	papiAttributeListAddCollection {
63		TYPE = FUNCTION;
64		FILTER = libpapi-common.so;
65	} ;
66	papiAttributeListAddDatetime {
67		TYPE = FUNCTION;
68		FILTER = libpapi-common.so;
69	} ;
70	papiAttributeListAddInteger {
71		TYPE = FUNCTION;
72		FILTER = libpapi-common.so;
73	} ;
74	papiAttributeListAddMetadata {
75		TYPE = FUNCTION;
76		FILTER = libpapi-common.so;
77	} ;
78	papiAttributeListAddRange {
79		TYPE = FUNCTION;
80		FILTER = libpapi-common.so;
81	} ;
82	papiAttributeListAddResolution {
83		TYPE = FUNCTION;
84		FILTER = libpapi-common.so;
85	} ;
86	papiAttributeListAddString {
87		TYPE = FUNCTION;
88		FILTER = libpapi-common.so;
89	} ;
90	papiAttributeListDelete {
91		TYPE = FUNCTION;
92		FILTER = libpapi-common.so;
93	} ;
94	papiAttributeListGetValue {
95		TYPE = FUNCTION;
96		FILTER = libpapi-common.so;
97	} ;
98	papiAttributeListGetNext {
99		TYPE = FUNCTION;
100		FILTER = libpapi-common.so;
101	} ;
102	papiAttributeListFind {
103		TYPE = FUNCTION;
104		FILTER = libpapi-common.so;
105	} ;
106	papiAttributeListGetBoolean {
107		TYPE = FUNCTION;
108		FILTER = libpapi-common.so;
109	} ;
110	papiAttributeListGetCollection {
111		TYPE = FUNCTION;
112		FILTER = libpapi-common.so;
113	} ;
114	papiAttributeListGetDatetime {
115		TYPE = FUNCTION;
116		FILTER = libpapi-common.so;
117	} ;
118	papiAttributeListGetInteger {
119		TYPE = FUNCTION;
120		FILTER = libpapi-common.so;
121	} ;
122	papiAttributeListGetMetadata {
123		TYPE = FUNCTION;
124		FILTER = libpapi-common.so;
125	} ;
126	papiAttributeListGetRange {
127		TYPE = FUNCTION;
128		FILTER = libpapi-common.so;
129	} ;
130	papiAttributeListGetResolution {
131		TYPE = FUNCTION;
132		FILTER = libpapi-common.so;
133	} ;
134	papiAttributeListGetString {
135		TYPE = FUNCTION;
136		FILTER = libpapi-common.so;
137	} ;
138	papiAttributeListFromString {
139		TYPE = FUNCTION;
140		FILTER = libpapi-common.so;
141	} ;
142	papiAttributeListToString {
143		TYPE = FUNCTION;
144		FILTER = libpapi-common.so;
145	} ;
146	papiAttributeListFree {
147		TYPE = FUNCTION;
148		FILTER = libpapi-common.so;
149	} ;
150
151	# PAPI Service Calls
152        papiServiceCreate ;
153        papiServiceDestroy ;
154        papiServiceSetUserName ;
155        papiServiceSetPassword ;
156        papiServiceSetEncryption ;
157        papiServiceSetAuthCB ;
158        papiServiceSetAppData ;
159        papiServiceGetUserName ;
160        papiServiceGetPassword ;
161        papiServiceGetEncryption ;
162        papiServiceGetAppData ;
163        papiServiceGetServiceName ;
164        papiServiceGetAttributeList ;
165        papiServiceGetStatusMessage ;
166
167	# PAPI Printer Calls
168        papiPrintersList ;
169        papiPrinterQuery ;
170        papiPrinterAdd ;
171        papiPrinterModify ;
172        papiPrinterRemove ;
173        papiPrinterDisable ;
174        papiPrinterEnable ;
175        papiPrinterPause ;
176        papiPrinterResume ;
177        papiPrinterPurgeJobs ;
178        papiPrinterListJobs ;
179        papiPrinterGetAttributeList ;
180        papiPrinterFree ;
181        papiPrinterListFree ;
182
183	# PAPI Job Calls
184        papiJobSubmit ;
185        papiJobSubmitByReference ;
186        papiJobValidate ;
187        papiJobStreamOpen ;
188        papiJobStreamWrite ;
189        papiJobStreamClose ;
190        papiJobQuery ;
191        papiJobModify ;
192        papiJobMove ;
193        papiJobCancel ;
194        papiJobHold ;
195        papiJobRelease ;
196        papiJobRestart ;
197        papiJobPromote ;
198        papiJobGetAttributeList ;
199        papiJobGetPrinterName ;
200        papiJobGetId ;
201        papiJobGetJobTicket ;
202        papiJobFree ;
203        papiJobListFree ;
204
205	# Misc. PAPI Calls
206	papiStatusString {
207		TYPE = FUNCTION;
208		FILTER = libpapi-common.so;
209	} ;
210	papiLibrarySupportedCall {
211		TYPE = FUNCTION;
212		FILTER = libpapi-common.so;
213	} ;
214	papiLibrarySupportedCalls {
215		TYPE = FUNCTION;
216		FILTER = libpapi-common.so;
217	} ;
218};
219
220SYMBOL_VERSION SUNWprivate_1.0 {
221    global:
222        papiServiceSetPeer ;	# extension
223        papiJobCreate ;
224        papiJobStreamAdd ;
225        papiJobCommit ;
226
227	# Misc. supporting calls
228	#     URI
229	uri_from_string {
230		TYPE = FUNCTION;
231		FILTER = libpapi-common.so;
232	} ;
233	uri_to_string {
234		TYPE = FUNCTION;
235		FILTER = libpapi-common.so;
236	} ;
237	uri_free {
238		TYPE = FUNCTION;
239		FILTER = libpapi-common.so;
240	} ;
241	#    list
242	list_remove {
243		TYPE = FUNCTION;
244		FILTER = libpapi-common.so;
245	} ;
246	list_append {
247		TYPE = FUNCTION;
248		FILTER = libpapi-common.so;
249	} ;
250	list_concatenate {
251		TYPE = FUNCTION;
252		FILTER = libpapi-common.so;
253	} ;
254	#    NS
255	getprinterbyname ;
256	is_localhost {
257		TYPE = FUNCTION;
258		FILTER = libpapi-common.so;
259	} ;
260
261	#    extra Attribute Calls
262	copy_attributes {
263		TYPE = FUNCTION;
264		FILTER = libpapi-common.so;
265	} ;
266	split_and_copy_attributes {
267		TYPE = FUNCTION;
268		FILTER = libpapi-common.so;
269	} ;
270	papiAttributeListPrint {
271		TYPE = FUNCTION;
272		FILTER = libpapi-common.so;
273	} ;
274
275    local:
276        * ;
277} ;
278
279SYMBOL_VERSION FSG_1.0 {} SUNW_1.0;
280