xref: /illumos-gate/usr/src/cmd/lp/lib/papi/mapfile (revision 0a44ef6d9afbfe052a7e975f55ea0d2954b62a82)
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# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
22355b4669Sjacobs# Use is subject to license terms.
23355b4669Sjacobs#
24355b4669Sjacobs# ident	"%Z%%M%	%I%	%E% SMI"
25355b4669Sjacobs#
26355b4669Sjacobs# Generic interface definition for usr/src/cmd/lp/lib/papi
27355b4669Sjacobs#
28355b4669Sjacobs# For information regarding the establishment of versioned definitions see:
29355b4669Sjacobs#	The Linker and Libraries Manual (version 2.5 or greater)
30355b4669Sjacobs# This is part of the Developers Guide in the Answerbook.  Specifically refer
31355b4669Sjacobs# to Chapter 2 under section "Defining Additional Symbols" through section
32355b4669Sjacobs# "Reducing Symbol Scope", and Chapter 5 "Versioning".
33355b4669Sjacobs#
34355b4669Sjacobs# For specific OSNET rules for the modification (evolution) of these version
35355b4669Sjacobs# definitions see:
36355b4669Sjacobs#	Policy for Shared Library Version Names and Interface Definitions
37355b4669Sjacobs
38355b4669SjacobsSUNW_1.0 {
39355b4669Sjacobs    global:
40355b4669Sjacobs        # PAPI Attribute Calls
41355b4669Sjacobs        papiAttributeListAdd;
42355b4669Sjacobs        papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ;
43355b4669Sjacobs        papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ;
44355b4669Sjacobs        papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ;
45355b4669Sjacobs        papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ;
46355b4669Sjacobs        papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ;
47355b4669Sjacobs        papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ;
48355b4669Sjacobs        papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ;
49355b4669Sjacobs        papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ;
50355b4669Sjacobs        papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ;
51355b4669Sjacobs        papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ;
52355b4669Sjacobs        papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ;
53355b4669Sjacobs        papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ;
54355b4669Sjacobs        papiAttributeListFind = FUNCTION FILTER libpapi-common.so ;
55355b4669Sjacobs        papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ;
56355b4669Sjacobs        papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ;
57355b4669Sjacobs        papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ;
58355b4669Sjacobs        papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ;
59355b4669Sjacobs        papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ;
60355b4669Sjacobs        papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ;
61355b4669Sjacobs        papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ;
62355b4669Sjacobs        papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ;
63355b4669Sjacobs        papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ;
64355b4669Sjacobs        papiAttributeListToString = FUNCTION FILTER libpapi-common.so ;
65355b4669Sjacobs        papiAttributeListFree = FUNCTION FILTER libpapi-common.so ;
66355b4669Sjacobs
67355b4669Sjacobs        # PAPI Service Calls
68355b4669Sjacobs        papiServiceCreate;
69355b4669Sjacobs        papiServiceDestroy;
70355b4669Sjacobs        papiServiceSetUserName;
71355b4669Sjacobs        papiServiceSetPassword;
72355b4669Sjacobs        papiServiceSetEncryption;
73355b4669Sjacobs        papiServiceSetAuthCB;
74355b4669Sjacobs        papiServiceSetAppData;
75355b4669Sjacobs        papiServiceGetUserName;
76355b4669Sjacobs        papiServiceGetPassword;
77355b4669Sjacobs        papiServiceGetEncryption;
78355b4669Sjacobs        papiServiceGetAppData;
79355b4669Sjacobs        papiServiceGetServiceName;
80355b4669Sjacobs        papiServiceGetAttributeList;
81355b4669Sjacobs        papiServiceGetStatusMessage;
82355b4669Sjacobs
83355b4669Sjacobs        # PAPI Printer Calls
84355b4669Sjacobs        papiPrintersList;
85355b4669Sjacobs        papiPrinterQuery;
86355b4669Sjacobs        papiPrinterAdd;
87355b4669Sjacobs        papiPrinterModify;
88355b4669Sjacobs        papiPrinterRemove;
89355b4669Sjacobs        papiPrinterDisable;
90355b4669Sjacobs        papiPrinterEnable;
91355b4669Sjacobs        papiPrinterPause;
92355b4669Sjacobs        papiPrinterResume;
93355b4669Sjacobs        papiPrinterPurgeJobs;
94355b4669Sjacobs        papiPrinterListJobs;
95355b4669Sjacobs        papiPrinterGetAttributeList;
96355b4669Sjacobs        papiPrinterFree;
97355b4669Sjacobs        papiPrinterListFree;
98355b4669Sjacobs
99355b4669Sjacobs        # PAPI Job Calls
100355b4669Sjacobs        papiJobSubmit;
101355b4669Sjacobs        papiJobSubmitByReference;
102355b4669Sjacobs        papiJobValidate;
103355b4669Sjacobs        papiJobStreamOpen;
104355b4669Sjacobs        papiJobStreamWrite;
105355b4669Sjacobs        papiJobStreamClose;
106355b4669Sjacobs        papiJobQuery;
107355b4669Sjacobs        papiJobModify;
108355b4669Sjacobs        papiJobMove;
109355b4669Sjacobs        papiJobCancel;
110355b4669Sjacobs        papiJobHold;
111355b4669Sjacobs        papiJobRelease;
112355b4669Sjacobs        papiJobRestart = FUNCTION FILTER libpapi-common.so ;
113355b4669Sjacobs        papiJobPromote;
114355b4669Sjacobs        papiJobGetAttributeList;
115355b4669Sjacobs        papiJobGetPrinterName;
116355b4669Sjacobs        papiJobGetId;
117355b4669Sjacobs        papiJobGetJobTicket = FUNCTION FILTER libpapi-common.so ;
118355b4669Sjacobs        papiJobFree;
119355b4669Sjacobs        papiJobListFree;
120355b4669Sjacobs
121355b4669Sjacobs        # Misc. PAPI Calls
122355b4669Sjacobs        papiStatusString = FUNCTION FILTER libpapi-common.so ;
123355b4669Sjacobs        papiLibrarySupportedCall;
124355b4669Sjacobs        papiLibrarySupportedCalls;
125355b4669Sjacobs};
126355b4669Sjacobs
127355b4669SjacobsSUNWprivate_1.0 {
128355b4669Sjacobs    global:
129355b4669Sjacobs	papiServiceSetPeer;	# used by to pass peer connection
130355b4669Sjacobs        papiJobCreate;
131355b4669Sjacobs        papiJobStreamAdd;
132355b4669Sjacobs        papiJobCommit;
133355b4669Sjacobs
134355b4669Sjacobs        # Misc. supporting calls
135355b4669Sjacobs        #     URI
136355b4669Sjacobs        uri_from_string = FUNCTION FILTER libpapi-common.so ;
137355b4669Sjacobs        uri_to_string = FUNCTION FILTER libpapi-common.so ;
138355b4669Sjacobs        uri_free = FUNCTION FILTER libpapi-common.so ;
139355b4669Sjacobs        #    list
140355b4669Sjacobs        list_remove = FUNCTION FILTER libpapi-common.so ;
141355b4669Sjacobs        list_append = FUNCTION FILTER libpapi-common.so ;
142355b4669Sjacobs        list_concatenate = FUNCTION FILTER libpapi-common.so ;
143355b4669Sjacobs
144*0a44ef6dSjacobs	#	NS
145*0a44ef6dSjacobs        getprinterbyname = FUNCTION FILTER libpapi-common.so ;
146*0a44ef6dSjacobs
147355b4669Sjacobs        #    extra Attribute Calls
148355b4669Sjacobs        copy_attributes = FUNCTION FILTER libpapi-common.so ;
149355b4669Sjacobs        split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ;
150355b4669Sjacobs        papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ;
151355b4669Sjacobs
152355b4669Sjacobs    local:
153355b4669Sjacobs        *;
154355b4669Sjacobs};
155