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