xref: /illumos-gate/usr/src/lib/print/libpapi-common/common/mapfile (revision a73c0fe4e90b82a478f821ef3adb5cf34f6a9346)
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 2008 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# ident	"%Z%%M%	%I%	%E% SMI"
32
33#
34# Common interfaces that are most likely to be shared amongst the various
35# PAPI implementations.
36#
37
38SUNW_1.0 {
39    global:
40	# PAPI Attribute Calls
41        papiAttributeListAddValue;
42        papiAttributeListAddBoolean;
43        papiAttributeListAddCollection;
44        papiAttributeListAddDatetime;
45        papiAttributeListAddInteger;
46        papiAttributeListAddMetadata;
47        papiAttributeListAddRange;
48        papiAttributeListAddResolution;
49        papiAttributeListAddString;
50        papiAttributeListDelete;
51        papiAttributeListGetValue;
52        papiAttributeListGetNext;
53        papiAttributeListFind;
54        papiAttributeListGetBoolean;
55        papiAttributeListGetCollection;
56        papiAttributeListGetDatetime;
57        papiAttributeListGetInteger;
58        papiAttributeListGetMetadata;
59        papiAttributeListGetRange;
60        papiAttributeListGetResolution;
61        papiAttributeListGetString;
62        papiAttributeListFromString;
63        papiAttributeListToString;
64        papiAttributeListFree;
65
66	# PAPI Service Calls
67        papiServiceCreate =		NODYNSORT;
68        papiServiceDestroy =		NODYNSORT;
69        papiServiceSetUserName =	NODYNSORT;
70        papiServiceSetPassword =	NODYNSORT;
71        papiServiceSetEncryption =	NODYNSORT;
72        papiServiceSetAuthCB =		NODYNSORT;
73        papiServiceSetAppData =		NODYNSORT;
74        papiServiceGetUserName =	NODYNSORT;
75        papiServiceGetPassword =	NODYNSORT;
76        papiServiceGetEncryption;
77        papiServiceGetAppData =		NODYNSORT;
78        papiServiceGetServiceName =	NODYNSORT;
79        papiServiceGetAttributeList =	NODYNSORT;
80        papiServiceGetStatusMessage =	NODYNSORT;
81
82	# PAPI Printer Calls
83        papiPrintersList =		NODYNSORT;
84        papiPrinterQuery =		NODYNSORT;
85        papiPrinterAdd =		NODYNSORT;
86        papiPrinterModify =		NODYNSORT;
87        papiPrinterRemove =		NODYNSORT;
88        papiPrinterDisable =		NODYNSORT;
89        papiPrinterEnable =		NODYNSORT;
90        papiPrinterPause =		NODYNSORT;
91        papiPrinterResume =		NODYNSORT;
92        papiPrinterPurgeJobs =		NODYNSORT;
93        papiPrinterListJobs =		NODYNSORT;
94        papiPrinterGetAttributeList =	NODYNSORT;
95        papiPrinterFree =		NODYNSORT;
96        papiPrinterListFree =		NODYNSORT;
97
98	# PAPI Job Calls
99        papiJobSubmit =			NODYNSORT;
100        papiJobSubmitByReference =	NODYNSORT;
101        papiJobValidate =		NODYNSORT;
102        papiJobStreamOpen =		NODYNSORT;
103        papiJobStreamWrite =		NODYNSORT;
104        papiJobStreamClose =		NODYNSORT;
105        papiJobQuery =			NODYNSORT;
106        papiJobModify =			NODYNSORT;
107        papiJobMove =			NODYNSORT;
108        papiJobCancel =			NODYNSORT;
109        papiJobHold =			NODYNSORT;
110        papiJobRelease =		NODYNSORT;
111        papiJobRestart =		NODYNSORT;
112        papiJobPromote =		NODYNSORT;
113        papiJobGetAttributeList =	NODYNSORT;
114        papiJobGetPrinterName =		NODYNSORT;
115        papiJobGetId;
116        papiJobGetJobTicket =		NODYNSORT;
117        papiJobFree =			NODYNSORT;
118        papiJobListFree =		NODYNSORT;
119
120	# Misc. PAPI Calls
121        papiStatusString;
122        papiLibrarySupportedCall;
123        papiLibrarySupportedCalls;
124};
125
126SUNWprivate_1.0 { # Misc. semi-private supporting calls
127    global:
128        papiServiceSetPeer =		NODYNSORT;
129        papiJobCreate =			NODYNSORT;
130        papiJobStreamAdd =		NODYNSORT;
131        papiJobCommit =			NODYNSORT;
132
133	#     URI
134        uri_from_string;
135        uri_to_string;
136        uri_free;
137
138	#    list
139        list_remove;
140        list_append;
141        list_concatenate;
142
143	#	NS
144	getprinterbyname =		NODYNSORT;
145
146	#    extra Attribute Calls
147        copy_attributes;
148        split_and_copy_attributes;
149	papiAttributeListPrint;
150
151	is_localhost;
152
153    local:
154        *;
155};
156