xref: /titanic_41/usr/src/lib/print/libpapi-lpd/common/mapfile (revision ba2e4443695ee6a6f420a35cd4fc3d3346d22932)
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  = FUNCTION FILTER libpapi-common.so ;
84        papiPrinterQuery ;
85	papiPrinterAdd  = FUNCTION FILTER libpapi-common.so ;
86	papiPrinterModify  = FUNCTION FILTER libpapi-common.so ;
87	papiPrinterRemove  = FUNCTION FILTER libpapi-common.so ;
88	papiPrinterDisable  = FUNCTION FILTER libpapi-common.so ;
89	papiPrinterEnable  = FUNCTION FILTER libpapi-common.so ;
90	papiPrinterPause  = FUNCTION FILTER libpapi-common.so ;
91	papiPrinterResume  = FUNCTION FILTER libpapi-common.so ;
92        papiPrinterPurgeJobs ;
93        papiPrinterListJobs ;
94        papiPrinterGetAttributeList ;
95        papiPrinterFree ;
96        papiPrinterListFree ;
97
98	# PAPI Job Calls
99        papiJobSubmit ;
100        papiJobSubmitByReference ;
101	papiJobValidate  = FUNCTION FILTER libpapi-common.so ;
102        papiJobStreamOpen ;
103        papiJobStreamWrite ;
104        papiJobStreamClose ;
105        papiJobQuery ;
106	papiJobModify  = FUNCTION FILTER libpapi-common.so ;
107	papiJobMove  = FUNCTION FILTER libpapi-common.so ;
108        papiJobCancel ;
109	papiJobHold  = FUNCTION FILTER libpapi-common.so ;
110	papiJobRelease  = FUNCTION FILTER libpapi-common.so ;
111	papiJobRestart  = FUNCTION FILTER libpapi-common.so ;
112	papiJobPromote  = FUNCTION FILTER libpapi-common.so ;
113        papiJobGetAttributeList ;
114        papiJobGetPrinterName ;
115        papiJobGetId ;
116	papiJobGetJobTicket  = FUNCTION FILTER libpapi-common.so ;
117        papiJobFree ;
118        papiJobListFree ;
119
120	# Misc. PAPI Calls
121	papiStatusString  = FUNCTION FILTER libpapi-common.so ;
122        papiLibrarySupportedCall ;
123        papiLibrarySupportedCalls ;
124};
125
126SUNWprivate_1.0 {
127    global:
128	papiServiceSetPeer  = FUNCTION FILTER libpapi-common.so ;
129	papiJobCreate  = FUNCTION FILTER libpapi-common.so ;
130	papiJobStreamAdd  = FUNCTION FILTER libpapi-common.so ;
131	papiJobCommit  = FUNCTION FILTER libpapi-common.so ;
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