xref: /illumos-gate/usr/src/lib/print/libpapi-lpd/common/mapfile (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
1355b4669Sjacobs#
2355b4669Sjacobs# CDDL HEADER START
3355b4669Sjacobs#
4355b4669Sjacobs# The contents of this file are subject to the terms of the
5355b4669Sjacobs# Common Development and Distribution License (the "License").
6355b4669Sjacobs# You may not use this file except in compliance with the License.
7355b4669Sjacobs#
8355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9355b4669Sjacobs# or http://www.opensolaris.org/os/licensing.
10355b4669Sjacobs# See the License for the specific language governing permissions
11355b4669Sjacobs# and limitations under the License.
12355b4669Sjacobs#
13355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each
14355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the
16355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying
17355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner]
18355b4669Sjacobs#
19355b4669Sjacobs# CDDL HEADER END
20355b4669Sjacobs#
21355b4669Sjacobs
22355b4669Sjacobs#
23*cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24355b4669Sjacobs#
25355b4669Sjacobs
26355b4669Sjacobs#
27355b4669Sjacobs# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $
28355b4669Sjacobs#
29355b4669Sjacobs
30bfed486aSAli Bahrami#
31bfed486aSAli Bahrami# MAPFILE HEADER START
32bfed486aSAli Bahrami#
33bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
34bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
35bfed486aSAli Bahrami#
36bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
37bfed486aSAli Bahrami#
38bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
39bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
40bfed486aSAli Bahrami#
41bfed486aSAli Bahrami# MAPFILE HEADER END
42bfed486aSAli Bahrami#
43355b4669Sjacobs
44*cd3e9333SAli Bahrami$mapfile_version 2
45*cd3e9333SAli Bahrami
46355b4669Sjacobs#
47355b4669Sjacobs# Common interfaces that are most likely to be shared amongst the various
48355b4669Sjacobs# PAPI implementations.
49355b4669Sjacobs#
50355b4669Sjacobs
51*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.0 {
52355b4669Sjacobs    global:
53355b4669Sjacobs	# PAPI Attribute Calls
54*cd3e9333SAli Bahrami	papiAttributeListAddValue {
55*cd3e9333SAli Bahrami		TYPE = FUNCTION;
56*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
57*cd3e9333SAli Bahrami	} ;
58*cd3e9333SAli Bahrami	papiAttributeListAddBoolean {
59*cd3e9333SAli Bahrami		TYPE = FUNCTION;
60*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
61*cd3e9333SAli Bahrami	} ;
62*cd3e9333SAli Bahrami	papiAttributeListAddCollection {
63*cd3e9333SAli Bahrami		TYPE = FUNCTION;
64*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
65*cd3e9333SAli Bahrami	} ;
66*cd3e9333SAli Bahrami	papiAttributeListAddDatetime {
67*cd3e9333SAli Bahrami		TYPE = FUNCTION;
68*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
69*cd3e9333SAli Bahrami	} ;
70*cd3e9333SAli Bahrami	papiAttributeListAddInteger {
71*cd3e9333SAli Bahrami		TYPE = FUNCTION;
72*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
73*cd3e9333SAli Bahrami	} ;
74*cd3e9333SAli Bahrami	papiAttributeListAddMetadata {
75*cd3e9333SAli Bahrami		TYPE = FUNCTION;
76*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
77*cd3e9333SAli Bahrami	} ;
78*cd3e9333SAli Bahrami	papiAttributeListAddRange {
79*cd3e9333SAli Bahrami		TYPE = FUNCTION;
80*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
81*cd3e9333SAli Bahrami	} ;
82*cd3e9333SAli Bahrami	papiAttributeListAddResolution {
83*cd3e9333SAli Bahrami		TYPE = FUNCTION;
84*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
85*cd3e9333SAli Bahrami	} ;
86*cd3e9333SAli Bahrami	papiAttributeListAddString {
87*cd3e9333SAli Bahrami		TYPE = FUNCTION;
88*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
89*cd3e9333SAli Bahrami	} ;
90*cd3e9333SAli Bahrami	papiAttributeListDelete {
91*cd3e9333SAli Bahrami		TYPE = FUNCTION;
92*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
93*cd3e9333SAli Bahrami	} ;
94*cd3e9333SAli Bahrami	papiAttributeListGetValue {
95*cd3e9333SAli Bahrami		TYPE = FUNCTION;
96*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
97*cd3e9333SAli Bahrami	} ;
98*cd3e9333SAli Bahrami	papiAttributeListGetNext {
99*cd3e9333SAli Bahrami		TYPE = FUNCTION;
100*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
101*cd3e9333SAli Bahrami	} ;
102*cd3e9333SAli Bahrami	papiAttributeListFind {
103*cd3e9333SAli Bahrami		TYPE = FUNCTION;
104*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
105*cd3e9333SAli Bahrami	} ;
106*cd3e9333SAli Bahrami	papiAttributeListGetBoolean {
107*cd3e9333SAli Bahrami		TYPE = FUNCTION;
108*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
109*cd3e9333SAli Bahrami	} ;
110*cd3e9333SAli Bahrami	papiAttributeListGetCollection {
111*cd3e9333SAli Bahrami		TYPE = FUNCTION;
112*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
113*cd3e9333SAli Bahrami	} ;
114*cd3e9333SAli Bahrami	papiAttributeListGetDatetime {
115*cd3e9333SAli Bahrami		TYPE = FUNCTION;
116*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
117*cd3e9333SAli Bahrami	} ;
118*cd3e9333SAli Bahrami	papiAttributeListGetInteger {
119*cd3e9333SAli Bahrami		TYPE = FUNCTION;
120*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
121*cd3e9333SAli Bahrami	} ;
122*cd3e9333SAli Bahrami	papiAttributeListGetMetadata {
123*cd3e9333SAli Bahrami		TYPE = FUNCTION;
124*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
125*cd3e9333SAli Bahrami	} ;
126*cd3e9333SAli Bahrami	papiAttributeListGetRange {
127*cd3e9333SAli Bahrami		TYPE = FUNCTION;
128*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
129*cd3e9333SAli Bahrami	} ;
130*cd3e9333SAli Bahrami	papiAttributeListGetResolution {
131*cd3e9333SAli Bahrami		TYPE = FUNCTION;
132*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
133*cd3e9333SAli Bahrami	} ;
134*cd3e9333SAli Bahrami	papiAttributeListGetString {
135*cd3e9333SAli Bahrami		TYPE = FUNCTION;
136*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
137*cd3e9333SAli Bahrami	} ;
138*cd3e9333SAli Bahrami	papiAttributeListFromString {
139*cd3e9333SAli Bahrami		TYPE = FUNCTION;
140*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
141*cd3e9333SAli Bahrami	} ;
142*cd3e9333SAli Bahrami	papiAttributeListToString {
143*cd3e9333SAli Bahrami		TYPE = FUNCTION;
144*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
145*cd3e9333SAli Bahrami	} ;
146*cd3e9333SAli Bahrami	papiAttributeListFree {
147*cd3e9333SAli Bahrami		TYPE = FUNCTION;
148*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
149*cd3e9333SAli Bahrami	} ;
150355b4669Sjacobs
151355b4669Sjacobs	# PAPI Service Calls
152355b4669Sjacobs        papiServiceCreate ;
153355b4669Sjacobs        papiServiceDestroy ;
154355b4669Sjacobs        papiServiceSetUserName ;
155355b4669Sjacobs        papiServiceSetPassword ;
156355b4669Sjacobs        papiServiceSetEncryption ;
157355b4669Sjacobs        papiServiceSetAuthCB ;
158355b4669Sjacobs        papiServiceSetAppData ;
159355b4669Sjacobs        papiServiceGetUserName ;
160355b4669Sjacobs        papiServiceGetPassword ;
161355b4669Sjacobs        papiServiceGetEncryption ;
162355b4669Sjacobs        papiServiceGetAppData ;
163355b4669Sjacobs        papiServiceGetServiceName ;
164355b4669Sjacobs        papiServiceGetAttributeList ;
165355b4669Sjacobs        papiServiceGetStatusMessage ;
166355b4669Sjacobs
167355b4669Sjacobs	# PAPI Printer Calls
168*cd3e9333SAli Bahrami	papiPrintersList {
169*cd3e9333SAli Bahrami		TYPE = FUNCTION;
170*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
171*cd3e9333SAli Bahrami	} ;
172355b4669Sjacobs        papiPrinterQuery ;
173*cd3e9333SAli Bahrami	papiPrinterAdd {
174*cd3e9333SAli Bahrami		TYPE = FUNCTION;
175*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
176*cd3e9333SAli Bahrami	} ;
177*cd3e9333SAli Bahrami	papiPrinterModify {
178*cd3e9333SAli Bahrami		TYPE = FUNCTION;
179*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
180*cd3e9333SAli Bahrami	} ;
181*cd3e9333SAli Bahrami	papiPrinterRemove {
182*cd3e9333SAli Bahrami		TYPE = FUNCTION;
183*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
184*cd3e9333SAli Bahrami	} ;
185999637b1S"Nagaraj Yedathore - Sun Microsystems - Bangalore India"	papiPrinterDisable ;
186999637b1S"Nagaraj Yedathore - Sun Microsystems - Bangalore India"	papiPrinterEnable ;
187999637b1S"Nagaraj Yedathore - Sun Microsystems - Bangalore India"	papiPrinterPause ;
188999637b1S"Nagaraj Yedathore - Sun Microsystems - Bangalore India"	papiPrinterResume ;
189355b4669Sjacobs        papiPrinterPurgeJobs ;
190355b4669Sjacobs        papiPrinterListJobs ;
191355b4669Sjacobs        papiPrinterGetAttributeList ;
192355b4669Sjacobs        papiPrinterFree ;
193355b4669Sjacobs        papiPrinterListFree ;
194355b4669Sjacobs
195355b4669Sjacobs	# PAPI Job Calls
196355b4669Sjacobs        papiJobSubmit ;
197355b4669Sjacobs        papiJobSubmitByReference ;
198*cd3e9333SAli Bahrami	papiJobValidate {
199*cd3e9333SAli Bahrami		TYPE = FUNCTION;
200*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
201*cd3e9333SAli Bahrami	} ;
202355b4669Sjacobs        papiJobStreamOpen ;
203355b4669Sjacobs        papiJobStreamWrite ;
204355b4669Sjacobs        papiJobStreamClose ;
205355b4669Sjacobs        papiJobQuery ;
206*cd3e9333SAli Bahrami	papiJobModify {
207*cd3e9333SAli Bahrami		TYPE = FUNCTION;
208*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
209*cd3e9333SAli Bahrami	} ;
210*cd3e9333SAli Bahrami	papiJobMove {
211*cd3e9333SAli Bahrami		TYPE = FUNCTION;
212*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
213*cd3e9333SAli Bahrami	} ;
214355b4669Sjacobs        papiJobCancel ;
215*cd3e9333SAli Bahrami	papiJobHold {
216*cd3e9333SAli Bahrami		TYPE = FUNCTION;
217*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
218*cd3e9333SAli Bahrami	} ;
219*cd3e9333SAli Bahrami	papiJobRelease {
220*cd3e9333SAli Bahrami		TYPE = FUNCTION;
221*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
222*cd3e9333SAli Bahrami	} ;
223*cd3e9333SAli Bahrami	papiJobRestart {
224*cd3e9333SAli Bahrami		TYPE = FUNCTION;
225*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
226*cd3e9333SAli Bahrami	} ;
227*cd3e9333SAli Bahrami	papiJobPromote {
228*cd3e9333SAli Bahrami		TYPE = FUNCTION;
229*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
230*cd3e9333SAli Bahrami	} ;
231355b4669Sjacobs        papiJobGetAttributeList ;
232355b4669Sjacobs        papiJobGetPrinterName ;
233355b4669Sjacobs        papiJobGetId ;
234*cd3e9333SAli Bahrami	papiJobGetJobTicket {
235*cd3e9333SAli Bahrami		TYPE = FUNCTION;
236*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
237*cd3e9333SAli Bahrami	} ;
238355b4669Sjacobs        papiJobFree ;
239355b4669Sjacobs        papiJobListFree ;
240355b4669Sjacobs
241355b4669Sjacobs	# Misc. PAPI Calls
242*cd3e9333SAli Bahrami	papiStatusString {
243*cd3e9333SAli Bahrami		TYPE = FUNCTION;
244*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
245*cd3e9333SAli Bahrami	} ;
246355b4669Sjacobs        papiLibrarySupportedCall ;
247355b4669Sjacobs        papiLibrarySupportedCalls ;
248355b4669Sjacobs} ;
249355b4669Sjacobs
250*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.0 {
251355b4669Sjacobs    global:
252*cd3e9333SAli Bahrami	papiServiceSetPeer {
253*cd3e9333SAli Bahrami		TYPE = FUNCTION;
254*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
255*cd3e9333SAli Bahrami	} ;
256*cd3e9333SAli Bahrami	papiJobCreate {
257*cd3e9333SAli Bahrami		TYPE = FUNCTION;
258*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
259*cd3e9333SAli Bahrami	} ;
260*cd3e9333SAli Bahrami	papiJobStreamAdd {
261*cd3e9333SAli Bahrami		TYPE = FUNCTION;
262*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
263*cd3e9333SAli Bahrami	} ;
264*cd3e9333SAli Bahrami	papiJobCommit {
265*cd3e9333SAli Bahrami		TYPE = FUNCTION;
266*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
267*cd3e9333SAli Bahrami	} ;
268355b4669Sjacobs
269355b4669Sjacobs	# Misc. supporting calls
270355b4669Sjacobs	#     URI
271*cd3e9333SAli Bahrami	uri_from_string {
272*cd3e9333SAli Bahrami		TYPE = FUNCTION;
273*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
274*cd3e9333SAli Bahrami	} ;
275*cd3e9333SAli Bahrami	uri_to_string {
276*cd3e9333SAli Bahrami		TYPE = FUNCTION;
277*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
278*cd3e9333SAli Bahrami	} ;
279*cd3e9333SAli Bahrami	uri_free {
280*cd3e9333SAli Bahrami		TYPE = FUNCTION;
281*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
282*cd3e9333SAli Bahrami	} ;
283355b4669Sjacobs	#    list
284*cd3e9333SAli Bahrami	list_remove {
285*cd3e9333SAli Bahrami		TYPE = FUNCTION;
286*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
287*cd3e9333SAli Bahrami	} ;
288*cd3e9333SAli Bahrami	list_append {
289*cd3e9333SAli Bahrami		TYPE = FUNCTION;
290*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
291*cd3e9333SAli Bahrami	} ;
292*cd3e9333SAli Bahrami	list_concatenate {
293*cd3e9333SAli Bahrami		TYPE = FUNCTION;
294*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
295*cd3e9333SAli Bahrami	} ;
2960a44ef6dSjacobs	#    NS
297*cd3e9333SAli Bahrami	getprinterbyname {
298*cd3e9333SAli Bahrami		TYPE = FUNCTION;
299*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
300*cd3e9333SAli Bahrami	} ;
301*cd3e9333SAli Bahrami	is_localhost {
302*cd3e9333SAli Bahrami		TYPE = FUNCTION;
303*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
304*cd3e9333SAli Bahrami	} ;
305355b4669Sjacobs
306355b4669Sjacobs	#    extra Attribute Calls
307*cd3e9333SAli Bahrami	copy_attributes {
308*cd3e9333SAli Bahrami		TYPE = FUNCTION;
309*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
310*cd3e9333SAli Bahrami	} ;
311*cd3e9333SAli Bahrami	split_and_copy_attributes {
312*cd3e9333SAli Bahrami		TYPE = FUNCTION;
313*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
314*cd3e9333SAli Bahrami	} ;
315*cd3e9333SAli Bahrami	papiAttributeListPrint {
316*cd3e9333SAli Bahrami		TYPE = FUNCTION;
317*cd3e9333SAli Bahrami		FILTER = libpapi-common.so;
318*cd3e9333SAli Bahrami	} ;
319355b4669Sjacobs
320355b4669Sjacobs    local:
321355b4669Sjacobs        * ;
322355b4669Sjacobs} ;
323