xref: /illumos-gate/usr/src/lib/print/libpapi-common/common/mapfile (revision a18dc42fc967d11feba9b8be61c6727dc6c56b48)
1355b4669Sjacobs#
2355b4669Sjacobs# CDDL HEADER START
3355b4669Sjacobs#
4355b4669Sjacobs# The contents of this file are subject to the terms of the
5355b4669Sjacobs# Common Development and Distribution License (the "License").
6355b4669Sjacobs# You may not use this file except in compliance with the License.
7355b4669Sjacobs#
8355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9355b4669Sjacobs# or http://www.opensolaris.org/os/licensing.
10355b4669Sjacobs# See the License for the specific language governing permissions
11355b4669Sjacobs# and limitations under the License.
12355b4669Sjacobs#
13355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each
14355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the
16355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying
17355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner]
18355b4669Sjacobs#
19355b4669Sjacobs# CDDL HEADER END
20355b4669Sjacobs#
21355b4669Sjacobs
22355b4669Sjacobs#
23*a18dc42fSps29005# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24355b4669Sjacobs# Use is subject to license terms.
25355b4669Sjacobs#
26355b4669Sjacobs
27355b4669Sjacobs#
28355b4669Sjacobs# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $
29355b4669Sjacobs#
30355b4669Sjacobs
31355b4669Sjacobs# ident	"%Z%%M%	%I%	%E% SMI"
32355b4669Sjacobs
33355b4669Sjacobs#
34355b4669Sjacobs# Common interfaces that are most likely to be shared amongst the various
35355b4669Sjacobs# PAPI implementations.
36355b4669Sjacobs#
37355b4669Sjacobs
38355b4669SjacobsSUNW_1.0 {
39355b4669Sjacobs    global:
40355b4669Sjacobs	# PAPI Attribute Calls
41355b4669Sjacobs        papiAttributeListAddValue;
42355b4669Sjacobs        papiAttributeListAddBoolean;
43355b4669Sjacobs        papiAttributeListAddCollection;
44355b4669Sjacobs        papiAttributeListAddDatetime;
45355b4669Sjacobs        papiAttributeListAddInteger;
46355b4669Sjacobs        papiAttributeListAddMetadata;
47355b4669Sjacobs        papiAttributeListAddRange;
48355b4669Sjacobs        papiAttributeListAddResolution;
49355b4669Sjacobs        papiAttributeListAddString;
50355b4669Sjacobs        papiAttributeListDelete;
51355b4669Sjacobs        papiAttributeListGetValue;
52355b4669Sjacobs        papiAttributeListGetNext;
53355b4669Sjacobs        papiAttributeListFind;
54355b4669Sjacobs        papiAttributeListGetBoolean;
55355b4669Sjacobs        papiAttributeListGetCollection;
56355b4669Sjacobs        papiAttributeListGetDatetime;
57355b4669Sjacobs        papiAttributeListGetInteger;
58355b4669Sjacobs        papiAttributeListGetMetadata;
59355b4669Sjacobs        papiAttributeListGetRange;
60355b4669Sjacobs        papiAttributeListGetResolution;
61355b4669Sjacobs        papiAttributeListGetString;
62355b4669Sjacobs        papiAttributeListFromString;
63355b4669Sjacobs        papiAttributeListToString;
64355b4669Sjacobs        papiAttributeListFree;
65355b4669Sjacobs
66355b4669Sjacobs	# PAPI Service Calls
67dfb96a4fSab196087        papiServiceCreate =		NODYNSORT;
68dfb96a4fSab196087        papiServiceDestroy =		NODYNSORT;
69dfb96a4fSab196087        papiServiceSetUserName =	NODYNSORT;
70dfb96a4fSab196087        papiServiceSetPassword =	NODYNSORT;
71dfb96a4fSab196087        papiServiceSetEncryption =	NODYNSORT;
72dfb96a4fSab196087        papiServiceSetAuthCB =		NODYNSORT;
73dfb96a4fSab196087        papiServiceSetAppData =		NODYNSORT;
74dfb96a4fSab196087        papiServiceGetUserName =	NODYNSORT;
75dfb96a4fSab196087        papiServiceGetPassword =	NODYNSORT;
76355b4669Sjacobs        papiServiceGetEncryption;
77dfb96a4fSab196087        papiServiceGetAppData =		NODYNSORT;
78dfb96a4fSab196087        papiServiceGetServiceName =	NODYNSORT;
79dfb96a4fSab196087        papiServiceGetAttributeList =	NODYNSORT;
80dfb96a4fSab196087        papiServiceGetStatusMessage =	NODYNSORT;
81355b4669Sjacobs
82355b4669Sjacobs	# PAPI Printer Calls
83dfb96a4fSab196087        papiPrintersList =		NODYNSORT;
84dfb96a4fSab196087        papiPrinterQuery =		NODYNSORT;
85dfb96a4fSab196087        papiPrinterAdd =		NODYNSORT;
86dfb96a4fSab196087        papiPrinterModify =		NODYNSORT;
87dfb96a4fSab196087        papiPrinterRemove =		NODYNSORT;
88dfb96a4fSab196087        papiPrinterDisable =		NODYNSORT;
89dfb96a4fSab196087        papiPrinterEnable =		NODYNSORT;
90dfb96a4fSab196087        papiPrinterPause =		NODYNSORT;
91dfb96a4fSab196087        papiPrinterResume =		NODYNSORT;
92dfb96a4fSab196087        papiPrinterPurgeJobs =		NODYNSORT;
93dfb96a4fSab196087        papiPrinterListJobs =		NODYNSORT;
94dfb96a4fSab196087        papiPrinterGetAttributeList =	NODYNSORT;
95dfb96a4fSab196087        papiPrinterFree =		NODYNSORT;
96dfb96a4fSab196087        papiPrinterListFree =		NODYNSORT;
97355b4669Sjacobs
98355b4669Sjacobs	# PAPI Job Calls
99dfb96a4fSab196087        papiJobSubmit =			NODYNSORT;
100dfb96a4fSab196087        papiJobSubmitByReference =	NODYNSORT;
101dfb96a4fSab196087        papiJobValidate =		NODYNSORT;
102dfb96a4fSab196087        papiJobStreamOpen =		NODYNSORT;
103dfb96a4fSab196087        papiJobStreamWrite =		NODYNSORT;
104dfb96a4fSab196087        papiJobStreamClose =		NODYNSORT;
105dfb96a4fSab196087        papiJobQuery =			NODYNSORT;
106dfb96a4fSab196087        papiJobModify =			NODYNSORT;
107dfb96a4fSab196087        papiJobMove =			NODYNSORT;
108dfb96a4fSab196087        papiJobCancel =			NODYNSORT;
109dfb96a4fSab196087        papiJobHold =			NODYNSORT;
110dfb96a4fSab196087        papiJobRelease =		NODYNSORT;
111dfb96a4fSab196087        papiJobRestart =		NODYNSORT;
112dfb96a4fSab196087        papiJobPromote =		NODYNSORT;
113dfb96a4fSab196087        papiJobGetAttributeList =	NODYNSORT;
114dfb96a4fSab196087        papiJobGetPrinterName =		NODYNSORT;
115355b4669Sjacobs        papiJobGetId;
116dfb96a4fSab196087        papiJobGetJobTicket =		NODYNSORT;
117dfb96a4fSab196087        papiJobFree =			NODYNSORT;
118dfb96a4fSab196087        papiJobListFree =		NODYNSORT;
119355b4669Sjacobs
120355b4669Sjacobs	# Misc. PAPI Calls
121355b4669Sjacobs        papiStatusString;
122355b4669Sjacobs        papiLibrarySupportedCall;
123355b4669Sjacobs        papiLibrarySupportedCalls;
124355b4669Sjacobs};
125355b4669Sjacobs
126355b4669SjacobsSUNWprivate_1.0 { # Misc. semi-private supporting calls
127355b4669Sjacobs    global:
128dfb96a4fSab196087        papiServiceSetPeer =		NODYNSORT;
129dfb96a4fSab196087        papiJobCreate =			NODYNSORT;
130dfb96a4fSab196087        papiJobStreamAdd =		NODYNSORT;
131dfb96a4fSab196087        papiJobCommit =			NODYNSORT;
132355b4669Sjacobs
133355b4669Sjacobs	#     URI
134355b4669Sjacobs        uri_from_string;
135355b4669Sjacobs        uri_to_string;
136355b4669Sjacobs        uri_free;
1370a44ef6dSjacobs
138355b4669Sjacobs	#    list
139355b4669Sjacobs        list_remove;
140355b4669Sjacobs        list_append;
141355b4669Sjacobs        list_concatenate;
142355b4669Sjacobs
1430a44ef6dSjacobs	#	NS
144dfb96a4fSab196087	getprinterbyname =		NODYNSORT;
1450a44ef6dSjacobs
146355b4669Sjacobs	#    extra Attribute Calls
147355b4669Sjacobs        copy_attributes;
148355b4669Sjacobs        split_and_copy_attributes;
149355b4669Sjacobs	papiAttributeListPrint;
150355b4669Sjacobs
151*a18dc42fSps29005	is_localhost;
152*a18dc42fSps29005
153355b4669Sjacobs    local:
154355b4669Sjacobs        *;
155355b4669Sjacobs};
156