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