xref: /titanic_50/usr/src/cmd/lp/lib/papi/mapfile (revision 711890bc9379ceea66272dc8d4981812224ea86e)
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# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24# ident	"%Z%%M%	%I%	%E% SMI"
25#
26# Generic interface definition for usr/src/cmd/lp/lib/papi
27#
28# For information regarding the establishment of versioned definitions see:
29#	The Linker and Libraries Manual (version 2.5 or greater)
30# This is part of the Developers Guide in the Answerbook.  Specifically refer
31# to Chapter 2 under section "Defining Additional Symbols" through section
32# "Reducing Symbol Scope", and Chapter 5 "Versioning".
33#
34# For specific OSNET rules for the modification (evolution) of these version
35# definitions see:
36#	Policy for Shared Library Version Names and Interface Definitions
37
38SUNW_1.0 {
39    global:
40        # PAPI Attribute Calls
41        papiAttributeListAdd;
42        papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ;
43        papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ;
44        papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ;
45        papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ;
46        papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ;
47        papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ;
48        papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ;
49        papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ;
50        papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ;
51        papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ;
52        papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ;
53        papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ;
54        papiAttributeListFind = FUNCTION FILTER libpapi-common.so ;
55        papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ;
56        papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ;
57        papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ;
58        papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ;
59        papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ;
60        papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ;
61        papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ;
62        papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ;
63        papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ;
64        papiAttributeListToString = FUNCTION FILTER libpapi-common.so ;
65        papiAttributeListFree = FUNCTION FILTER libpapi-common.so ;
66
67        # PAPI Service Calls
68        papiServiceCreate;
69        papiServiceDestroy;
70        papiServiceSetUserName;
71        papiServiceSetPassword;
72        papiServiceSetEncryption;
73        papiServiceSetAuthCB;
74        papiServiceSetAppData;
75        papiServiceGetUserName;
76        papiServiceGetPassword;
77        papiServiceGetEncryption;
78        papiServiceGetAppData;
79        papiServiceGetServiceName;
80        papiServiceGetAttributeList;
81        papiServiceGetStatusMessage;
82
83        # PAPI Printer Calls
84        papiPrintersList;
85        papiPrinterQuery;
86        papiPrinterAdd;
87        papiPrinterModify;
88        papiPrinterRemove;
89        papiPrinterDisable;
90        papiPrinterEnable;
91        papiPrinterPause;
92        papiPrinterResume;
93        papiPrinterPurgeJobs;
94        papiPrinterListJobs;
95        papiPrinterGetAttributeList;
96        papiPrinterFree;
97        papiPrinterListFree;
98
99        # PAPI Job Calls
100        papiJobSubmit;
101        papiJobSubmitByReference;
102        papiJobValidate;
103        papiJobStreamOpen;
104        papiJobStreamWrite;
105        papiJobStreamClose;
106        papiJobQuery;
107        papiJobModify;
108        papiJobMove;
109        papiJobCancel;
110        papiJobHold;
111        papiJobRelease;
112        papiJobRestart = FUNCTION FILTER libpapi-common.so ;
113        papiJobPromote;
114        papiJobGetAttributeList;
115        papiJobGetPrinterName;
116        papiJobGetId;
117        papiJobGetJobTicket = FUNCTION FILTER libpapi-common.so ;
118        papiJobFree;
119        papiJobListFree;
120
121        # Misc. PAPI Calls
122        papiStatusString = FUNCTION FILTER libpapi-common.so ;
123        papiLibrarySupportedCall;
124        papiLibrarySupportedCalls;
125};
126
127SUNWprivate_1.0 {
128    global:
129	papiServiceSetPeer;	# used by to pass peer connection
130        papiJobCreate;
131        papiJobStreamAdd;
132        papiJobCommit;
133
134        # Misc. supporting calls
135        #     URI
136        uri_from_string = FUNCTION FILTER libpapi-common.so ;
137        uri_to_string = FUNCTION FILTER libpapi-common.so ;
138        uri_free = FUNCTION FILTER libpapi-common.so ;
139        #    list
140        list_remove = FUNCTION FILTER libpapi-common.so ;
141        list_append = FUNCTION FILTER libpapi-common.so ;
142        list_concatenate = FUNCTION FILTER libpapi-common.so ;
143
144	#	NS
145        getprinterbyname = FUNCTION FILTER libpapi-common.so ;
146
147        #    extra Attribute Calls
148        copy_attributes = FUNCTION FILTER libpapi-common.so ;
149        split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ;
150        papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ;
151
152    local:
153        *;
154};
155