xref: /illumos-gate/usr/src/lib/print/libpapi-ipp/common/mapfile (revision d583b39bfb4e2571d3e41097c5c357ffe353ad45)
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 {
223		TYPE = FUNCTION;
224		FILTER = libpapi-common.so;
225	} ;
226	papiJobCreate {
227		TYPE = FUNCTION;
228		FILTER = libpapi-common.so;
229	} ;
230	papiJobStreamAdd {
231		TYPE = FUNCTION;
232		FILTER = libpapi-common.so;
233	} ;
234	papiJobCommit {
235		TYPE = FUNCTION;
236		FILTER = libpapi-common.so;
237	} ;
238
239	# Misc. supporting calls
240	#     URI
241	uri_from_string {
242		TYPE = FUNCTION;
243		FILTER = libpapi-common.so;
244	} ;
245	uri_to_string {
246		TYPE = FUNCTION;
247		FILTER = libpapi-common.so;
248	} ;
249	uri_free {
250		TYPE = FUNCTION;
251		FILTER = libpapi-common.so;
252	} ;
253	#    list
254	list_remove {
255		TYPE = FUNCTION;
256		FILTER = libpapi-common.so;
257	} ;
258	list_append {
259		TYPE = FUNCTION;
260		FILTER = libpapi-common.so;
261	} ;
262	list_concatenate {
263		TYPE = FUNCTION;
264		FILTER = libpapi-common.so;
265	} ;
266	#    NS
267	getprinterbyname {
268		TYPE = FUNCTION;
269		FILTER = libpapi-common.so;
270	} ;
271	is_localhost {
272		TYPE = FUNCTION;
273		FILTER = libpapi-common.so;
274	} ;
275
276	#    extra Attribute Calls
277	copy_attributes {
278		TYPE = FUNCTION;
279		FILTER = libpapi-common.so;
280	} ;
281	split_and_copy_attributes {
282		TYPE = FUNCTION;
283		FILTER = libpapi-common.so;
284	} ;
285	papiAttributeListPrint {
286		TYPE = FUNCTION;
287		FILTER = libpapi-common.so;
288	} ;
289
290    local:
291        * ;
292} ;
293