xref: /titanic_51/usr/src/cmd/lp/lib/papi/mapfile (revision 84e1ed4249618c81c3c770730fe3e5ba51a9a246)
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 2009 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24# Generic interface definition for usr/src/cmd/lp/lib/papi
25#
26
27#
28# MAPFILE HEADER START
29#
30# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
31# Object versioning must comply with the rules detailed in
32#
33#	usr/src/lib/README.mapfiles
34#
35# You should not be making modifications here until you've read the most current
36# copy of that file. If you need help, contact a gatekeeper for guidance.
37#
38# MAPFILE HEADER END
39#
40
41SUNW_1.0 {
42    global:
43        # PAPI Attribute Calls
44        papiAttributeListAdd;
45        papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ;
46        papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ;
47        papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ;
48        papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ;
49        papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ;
50        papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ;
51        papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ;
52        papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ;
53        papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ;
54        papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ;
55        papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ;
56        papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ;
57        papiAttributeListFind = FUNCTION FILTER libpapi-common.so ;
58        papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ;
59        papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ;
60        papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ;
61        papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ;
62        papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ;
63        papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ;
64        papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ;
65        papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ;
66        papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ;
67        papiAttributeListToString = FUNCTION FILTER libpapi-common.so ;
68        papiAttributeListFree = FUNCTION FILTER libpapi-common.so ;
69
70        # PAPI Service Calls
71        papiServiceCreate;
72        papiServiceDestroy;
73        papiServiceSetUserName;
74        papiServiceSetPassword;
75        papiServiceSetEncryption;
76        papiServiceSetAuthCB;
77        papiServiceSetAppData;
78        papiServiceGetUserName;
79        papiServiceGetPassword;
80        papiServiceGetEncryption;
81        papiServiceGetAppData;
82        papiServiceGetServiceName;
83        papiServiceGetAttributeList;
84        papiServiceGetStatusMessage;
85
86        # PAPI Printer Calls
87        papiPrintersList;
88        papiPrinterQuery;
89        papiPrinterAdd;
90        papiPrinterModify;
91        papiPrinterRemove;
92        papiPrinterDisable;
93        papiPrinterEnable;
94        papiPrinterPause;
95        papiPrinterResume;
96        papiPrinterPurgeJobs;
97        papiPrinterListJobs;
98        papiPrinterGetAttributeList;
99        papiPrinterFree;
100        papiPrinterListFree;
101
102        # PAPI Job Calls
103        papiJobSubmit;
104        papiJobSubmitByReference;
105        papiJobValidate;
106        papiJobStreamOpen;
107        papiJobStreamWrite;
108        papiJobStreamClose;
109        papiJobQuery;
110        papiJobModify;
111        papiJobMove;
112        papiJobCancel;
113        papiJobHold;
114        papiJobRelease;
115        papiJobRestart = FUNCTION FILTER libpapi-common.so ;
116        papiJobPromote;
117        papiJobGetAttributeList;
118        papiJobGetPrinterName;
119        papiJobGetId;
120        papiJobGetJobTicket = FUNCTION FILTER libpapi-common.so ;
121        papiJobFree;
122        papiJobListFree;
123
124        # Misc. PAPI Calls
125        papiStatusString = FUNCTION FILTER libpapi-common.so ;
126        papiLibrarySupportedCall;
127        papiLibrarySupportedCalls;
128};
129
130SUNWprivate_1.0 {
131    global:
132	papiServiceSetPeer;	# used by to pass peer connection
133        papiJobCreate;
134        papiJobStreamAdd;
135        papiJobCommit;
136
137        # Misc. supporting calls
138        #     URI
139        uri_from_string = FUNCTION FILTER libpapi-common.so ;
140        uri_to_string = FUNCTION FILTER libpapi-common.so ;
141        uri_free = FUNCTION FILTER libpapi-common.so ;
142        #    list
143        list_remove = FUNCTION FILTER libpapi-common.so ;
144        list_append = FUNCTION FILTER libpapi-common.so ;
145        list_concatenate = FUNCTION FILTER libpapi-common.so ;
146
147	#	NS
148        getprinterbyname = FUNCTION FILTER libpapi-common.so ;
149	is_localhost = FUNCTION FILTER libpapi-common.so ;
150
151        #    extra Attribute Calls
152        copy_attributes = FUNCTION FILTER libpapi-common.so ;
153        split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ;
154        papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ;
155
156    local:
157        *;
158};
159