xref: /titanic_50/usr/src/lib/print/libpapi-lpd/common/mapfile (revision 4c56998a4a895e2885b4848d6753357edccb6436)
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		TYPE = FUNCTION;
170		FILTER = libpapi-common.so;
171	} ;
172        papiPrinterQuery ;
173	papiPrinterAdd {
174		TYPE = FUNCTION;
175		FILTER = libpapi-common.so;
176	} ;
177	papiPrinterModify {
178		TYPE = FUNCTION;
179		FILTER = libpapi-common.so;
180	} ;
181	papiPrinterRemove {
182		TYPE = FUNCTION;
183		FILTER = libpapi-common.so;
184	} ;
185	papiPrinterDisable ;
186	papiPrinterEnable ;
187	papiPrinterPause ;
188	papiPrinterResume ;
189        papiPrinterPurgeJobs ;
190        papiPrinterListJobs ;
191        papiPrinterGetAttributeList ;
192        papiPrinterFree ;
193        papiPrinterListFree ;
194
195	# PAPI Job Calls
196        papiJobSubmit ;
197        papiJobSubmitByReference ;
198	papiJobValidate {
199		TYPE = FUNCTION;
200		FILTER = libpapi-common.so;
201	} ;
202        papiJobStreamOpen ;
203        papiJobStreamWrite ;
204        papiJobStreamClose ;
205        papiJobQuery ;
206	papiJobModify {
207		TYPE = FUNCTION;
208		FILTER = libpapi-common.so;
209	} ;
210	papiJobMove {
211		TYPE = FUNCTION;
212		FILTER = libpapi-common.so;
213	} ;
214        papiJobCancel ;
215	papiJobHold {
216		TYPE = FUNCTION;
217		FILTER = libpapi-common.so;
218	} ;
219	papiJobRelease {
220		TYPE = FUNCTION;
221		FILTER = libpapi-common.so;
222	} ;
223	papiJobRestart {
224		TYPE = FUNCTION;
225		FILTER = libpapi-common.so;
226	} ;
227	papiJobPromote {
228		TYPE = FUNCTION;
229		FILTER = libpapi-common.so;
230	} ;
231        papiJobGetAttributeList ;
232        papiJobGetPrinterName ;
233        papiJobGetId ;
234	papiJobGetJobTicket {
235		TYPE = FUNCTION;
236		FILTER = libpapi-common.so;
237	} ;
238        papiJobFree ;
239        papiJobListFree ;
240
241	# Misc. PAPI Calls
242	papiStatusString {
243		TYPE = FUNCTION;
244		FILTER = libpapi-common.so;
245	} ;
246        papiLibrarySupportedCall ;
247        papiLibrarySupportedCalls ;
248} ;
249
250SYMBOL_VERSION SUNWprivate_1.0 {
251    global:
252	papiServiceSetPeer {
253		TYPE = FUNCTION;
254		FILTER = libpapi-common.so;
255	} ;
256	papiJobCreate {
257		TYPE = FUNCTION;
258		FILTER = libpapi-common.so;
259	} ;
260	papiJobStreamAdd {
261		TYPE = FUNCTION;
262		FILTER = libpapi-common.so;
263	} ;
264	papiJobCommit {
265		TYPE = FUNCTION;
266		FILTER = libpapi-common.so;
267	} ;
268
269	# Misc. supporting calls
270	#     URI
271	uri_from_string {
272		TYPE = FUNCTION;
273		FILTER = libpapi-common.so;
274	} ;
275	uri_to_string {
276		TYPE = FUNCTION;
277		FILTER = libpapi-common.so;
278	} ;
279	uri_free {
280		TYPE = FUNCTION;
281		FILTER = libpapi-common.so;
282	} ;
283	#    list
284	list_remove {
285		TYPE = FUNCTION;
286		FILTER = libpapi-common.so;
287	} ;
288	list_append {
289		TYPE = FUNCTION;
290		FILTER = libpapi-common.so;
291	} ;
292	list_concatenate {
293		TYPE = FUNCTION;
294		FILTER = libpapi-common.so;
295	} ;
296	#    NS
297	getprinterbyname {
298		TYPE = FUNCTION;
299		FILTER = libpapi-common.so;
300	} ;
301	is_localhost {
302		TYPE = FUNCTION;
303		FILTER = libpapi-common.so;
304	} ;
305
306	#    extra Attribute Calls
307	copy_attributes {
308		TYPE = FUNCTION;
309		FILTER = libpapi-common.so;
310	} ;
311	split_and_copy_attributes {
312		TYPE = FUNCTION;
313		FILTER = libpapi-common.so;
314	} ;
315	papiAttributeListPrint {
316		TYPE = FUNCTION;
317		FILTER = libpapi-common.so;
318	} ;
319
320    local:
321        * ;
322} ;
323