xref: /illumos-gate/usr/src/lib/print/libpapi-common/common/mapfile (revision 24da5b34f49324ed742a340010ed5bd3d4e06625)
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 2006 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;
68        papiServiceDestroy;
69        papiServiceSetUserName;
70        papiServiceSetPassword;
71        papiServiceSetEncryption;
72        papiServiceSetAuthCB;
73        papiServiceSetAppData;
74        papiServiceGetUserName;
75        papiServiceGetPassword;
76        papiServiceGetEncryption;
77        papiServiceGetAppData;
78        papiServiceGetServiceName;
79        papiServiceGetAttributeList;
80        papiServiceGetStatusMessage;
81
82	# PAPI Printer Calls
83        papiPrintersList;
84        papiPrinterQuery;
85        papiPrinterAdd;
86        papiPrinterModify;
87        papiPrinterRemove;
88        papiPrinterDisable;
89        papiPrinterEnable;
90        papiPrinterPause;
91        papiPrinterResume;
92        papiPrinterPurgeJobs;
93        papiPrinterListJobs;
94        papiPrinterGetAttributeList;
95        papiPrinterFree;
96        papiPrinterListFree;
97
98	# PAPI Job Calls
99        papiJobSubmit;
100        papiJobSubmitByReference;
101        papiJobValidate;
102        papiJobStreamOpen;
103        papiJobStreamWrite;
104        papiJobStreamClose;
105        papiJobQuery;
106        papiJobModify;
107        papiJobMove;
108        papiJobCancel;
109        papiJobHold;
110        papiJobRelease;
111        papiJobRestart;
112        papiJobPromote;
113        papiJobGetAttributeList;
114        papiJobGetPrinterName;
115        papiJobGetId;
116        papiJobGetJobTicket;
117        papiJobFree;
118        papiJobListFree;
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;
129        papiJobCreate;
130        papiJobStreamAdd;
131        papiJobCommit;
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;
145
146	#    extra Attribute Calls
147        copy_attributes;
148        split_and_copy_attributes;
149	papiAttributeListPrint;
150
151    local:
152        *;
153};
154