xref: /titanic_51/usr/src/lib/print/libpapi-common/common/mapfile (revision 63251bc7f1ca38259078c48e316fee4ed66d4e93)
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 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $
29#
30
31#
32# MAPFILE HEADER START
33#
34# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
35# Object versioning must comply with the rules detailed in
36#
37#	usr/src/lib/README.mapfiles
38#
39# You should not be making modifications here until you've read the most current
40# copy of that file. If you need help, contact a gatekeeper for guidance.
41#
42# MAPFILE HEADER END
43#
44
45#
46# Common interfaces that are most likely to be shared amongst the various
47# PAPI implementations.
48#
49
50SUNW_1.0 {
51    global:
52	# PAPI Attribute Calls
53        papiAttributeListAddValue;
54        papiAttributeListAddBoolean;
55        papiAttributeListAddCollection;
56        papiAttributeListAddDatetime;
57        papiAttributeListAddInteger;
58        papiAttributeListAddMetadata;
59        papiAttributeListAddRange;
60        papiAttributeListAddResolution;
61        papiAttributeListAddString;
62        papiAttributeListDelete;
63        papiAttributeListGetValue;
64        papiAttributeListGetNext;
65        papiAttributeListFind;
66        papiAttributeListGetBoolean;
67        papiAttributeListGetCollection;
68        papiAttributeListGetDatetime;
69        papiAttributeListGetInteger;
70        papiAttributeListGetMetadata;
71        papiAttributeListGetRange;
72        papiAttributeListGetResolution;
73        papiAttributeListGetString;
74        papiAttributeListFromString;
75        papiAttributeListToString;
76        papiAttributeListFree;
77
78	# PAPI Service Calls
79        papiServiceCreate =		NODYNSORT;
80        papiServiceDestroy =		NODYNSORT;
81        papiServiceSetUserName =	NODYNSORT;
82        papiServiceSetPassword =	NODYNSORT;
83        papiServiceSetEncryption =	NODYNSORT;
84        papiServiceSetAuthCB =		NODYNSORT;
85        papiServiceSetAppData =		NODYNSORT;
86        papiServiceGetUserName =	NODYNSORT;
87        papiServiceGetPassword =	NODYNSORT;
88        papiServiceGetEncryption;
89        papiServiceGetAppData =		NODYNSORT;
90        papiServiceGetServiceName =	NODYNSORT;
91        papiServiceGetAttributeList =	NODYNSORT;
92        papiServiceGetStatusMessage =	NODYNSORT;
93
94	# PAPI Printer Calls
95        papiPrintersList =		NODYNSORT;
96        papiPrinterQuery =		NODYNSORT;
97        papiPrinterAdd =		NODYNSORT;
98        papiPrinterModify =		NODYNSORT;
99        papiPrinterRemove =		NODYNSORT;
100        papiPrinterDisable =		NODYNSORT;
101        papiPrinterEnable =		NODYNSORT;
102        papiPrinterPause =		NODYNSORT;
103        papiPrinterResume =		NODYNSORT;
104        papiPrinterPurgeJobs =		NODYNSORT;
105        papiPrinterListJobs =		NODYNSORT;
106        papiPrinterGetAttributeList =	NODYNSORT;
107        papiPrinterFree =		NODYNSORT;
108        papiPrinterListFree =		NODYNSORT;
109
110	# PAPI Job Calls
111        papiJobSubmit =			NODYNSORT;
112        papiJobSubmitByReference =	NODYNSORT;
113        papiJobValidate =		NODYNSORT;
114        papiJobStreamOpen =		NODYNSORT;
115        papiJobStreamWrite =		NODYNSORT;
116        papiJobStreamClose =		NODYNSORT;
117        papiJobQuery =			NODYNSORT;
118        papiJobModify =			NODYNSORT;
119        papiJobMove =			NODYNSORT;
120        papiJobCancel =			NODYNSORT;
121        papiJobHold =			NODYNSORT;
122        papiJobRelease =		NODYNSORT;
123        papiJobRestart =		NODYNSORT;
124        papiJobPromote =		NODYNSORT;
125        papiJobGetAttributeList =	NODYNSORT;
126        papiJobGetPrinterName =		NODYNSORT;
127        papiJobGetId;
128        papiJobGetJobTicket =		NODYNSORT;
129        papiJobFree =			NODYNSORT;
130        papiJobListFree =		NODYNSORT;
131
132	# Misc. PAPI Calls
133        papiStatusString;
134        papiLibrarySupportedCall;
135        papiLibrarySupportedCalls;
136};
137
138SUNWprivate_1.0 { # Misc. semi-private supporting calls
139    global:
140        papiServiceSetPeer =		NODYNSORT;
141        papiJobCreate =			NODYNSORT;
142        papiJobStreamAdd =		NODYNSORT;
143        papiJobCommit =			NODYNSORT;
144
145	#     URI
146        uri_from_string;
147        uri_to_string;
148        uri_free;
149
150	#    list
151        list_remove;
152        list_append;
153        list_concatenate;
154
155	#	NS
156	getprinterbyname =		NODYNSORT;
157
158	#    extra Attribute Calls
159        copy_attributes;
160        split_and_copy_attributes;
161	papiAttributeListPrint;
162
163	is_localhost;
164
165    local:
166        *;
167};
168