xref: /illumos-gate/usr/src/lib/print/libpapi-dynamic/common/mapfile (revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95)
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 2006 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# ident	"%Z%%M%	%I%	%E% SMI"
32
33#
34# Common interfaces that are most likely to be shared amongst the various
35# PAPI implementations.
36#
37
38SUNW_1.0 {
39    global:
40	# PAPI Attribute Calls
41	papiAttributeListAddValue  = FUNCTION FILTER libpapi-common.so ;
42	papiAttributeListAddBoolean  = FUNCTION FILTER libpapi-common.so ;
43	papiAttributeListAddCollection  = FUNCTION FILTER libpapi-common.so ;
44	papiAttributeListAddDatetime  = FUNCTION FILTER libpapi-common.so ;
45	papiAttributeListAddInteger  = FUNCTION FILTER libpapi-common.so ;
46	papiAttributeListAddMetadata  = FUNCTION FILTER libpapi-common.so ;
47	papiAttributeListAddRange  = FUNCTION FILTER libpapi-common.so ;
48	papiAttributeListAddResolution  = FUNCTION FILTER libpapi-common.so ;
49	papiAttributeListAddString  = FUNCTION FILTER libpapi-common.so ;
50	papiAttributeListDelete  = FUNCTION FILTER libpapi-common.so ;
51	papiAttributeListGetValue  = FUNCTION FILTER libpapi-common.so ;
52	papiAttributeListGetNext  = FUNCTION FILTER libpapi-common.so ;
53	papiAttributeListFind  = FUNCTION FILTER libpapi-common.so ;
54	papiAttributeListGetBoolean  = FUNCTION FILTER libpapi-common.so ;
55	papiAttributeListGetCollection  = FUNCTION FILTER libpapi-common.so ;
56	papiAttributeListGetDatetime  = FUNCTION FILTER libpapi-common.so ;
57	papiAttributeListGetInteger  = FUNCTION FILTER libpapi-common.so ;
58	papiAttributeListGetMetadata  = FUNCTION FILTER libpapi-common.so ;
59	papiAttributeListGetRange  = FUNCTION FILTER libpapi-common.so ;
60	papiAttributeListGetResolution  = FUNCTION FILTER libpapi-common.so ;
61	papiAttributeListGetString  = FUNCTION FILTER libpapi-common.so ;
62	papiAttributeListFromString  = FUNCTION FILTER libpapi-common.so ;
63	papiAttributeListToString  = FUNCTION FILTER libpapi-common.so ;
64	papiAttributeListFree  = FUNCTION FILTER libpapi-common.so ;
65
66	# PAPI Service Calls
67        papiServiceCreate ;
68        papiServiceDestroy ;
69        papiServiceSetUserName ;
70        papiServiceSetPassword ;
71        papiServiceSetEncryption ;
72        papiServiceSetAuthCB ;
73        papiServiceSetAppData ;
74        papiServiceGetUserName ;
75        papiServiceGetPassword ;
76        papiServiceGetEncryption ;
77        papiServiceGetAppData ;
78        papiServiceGetServiceName ;
79        papiServiceGetAttributeList ;
80        papiServiceGetStatusMessage ;
81
82	# PAPI Printer Calls
83        papiPrintersList ;
84        papiPrinterQuery ;
85        papiPrinterAdd ;
86        papiPrinterModify ;
87        papiPrinterRemove ;
88        papiPrinterDisable ;
89        papiPrinterEnable ;
90        papiPrinterPause ;
91        papiPrinterResume ;
92        papiPrinterPurgeJobs ;
93        papiPrinterListJobs ;
94        papiPrinterGetAttributeList ;
95        papiPrinterFree ;
96        papiPrinterListFree ;
97
98	# PAPI Job Calls
99        papiJobSubmit ;
100        papiJobSubmitByReference ;
101        papiJobValidate ;
102        papiJobStreamOpen ;
103        papiJobStreamWrite ;
104        papiJobStreamClose ;
105        papiJobQuery ;
106        papiJobModify ;
107        papiJobMove ;
108        papiJobCancel ;
109        papiJobHold ;
110        papiJobRelease ;
111        papiJobRestart ;
112        papiJobPromote ;
113        papiJobGetAttributeList ;
114        papiJobGetPrinterName ;
115        papiJobGetId ;
116        papiJobGetJobTicket ;
117        papiJobFree ;
118        papiJobListFree ;
119
120	# Misc. PAPI Calls
121	papiStatusString  = FUNCTION FILTER libpapi-common.so ;
122	papiLibrarySupportedCall  = FUNCTION FILTER libpapi-common.so ;
123	papiLibrarySupportedCalls  = FUNCTION FILTER libpapi-common.so ;
124};
125
126SUNWprivate_1.0 {
127    global:
128        papiServiceSetPeer ;	# extension
129        papiJobCreate ;
130        papiJobStreamAdd ;
131        papiJobCommit ;
132
133	# Misc. supporting calls
134	#     URI
135	uri_from_string  = FUNCTION FILTER libpapi-common.so ;
136	uri_to_string  = FUNCTION FILTER libpapi-common.so ;
137	uri_free  = FUNCTION FILTER libpapi-common.so ;
138	#    list
139	list_remove  = FUNCTION FILTER libpapi-common.so ;
140	list_append  = FUNCTION FILTER libpapi-common.so ;
141	list_concatenate  = FUNCTION FILTER libpapi-common.so ;
142
143	#    extra Attribute Calls
144	copy_attributes  = FUNCTION FILTER libpapi-common.so ;
145	split_and_copy_attributes  = FUNCTION FILTER libpapi-common.so ;
146	papiAttributeListPrint  = FUNCTION FILTER libpapi-common.so ;
147
148    local:
149        * ;
150} ;
151
152FSG_1.0 {} SUNW_1.0;
153