12264Sjacobs#
22264Sjacobs# CDDL HEADER START
32264Sjacobs#
42264Sjacobs# The contents of this file are subject to the terms of the
52264Sjacobs# Common Development and Distribution License (the "License").
62264Sjacobs# You may not use this file except in compliance with the License.
72264Sjacobs#
82264Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92264Sjacobs# or http://www.opensolaris.org/os/licensing.
102264Sjacobs# See the License for the specific language governing permissions
112264Sjacobs# and limitations under the License.
122264Sjacobs#
132264Sjacobs# When distributing Covered Code, include this CDDL HEADER in each
142264Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152264Sjacobs# If applicable, add the following below this CDDL HEADER, with the
162264Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying
172264Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner]
182264Sjacobs#
192264Sjacobs# CDDL HEADER END
202264Sjacobs#
212264Sjacobs
222264Sjacobs#
23*8744SAli.Bahrami@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
242264Sjacobs# Use is subject to license terms.
252264Sjacobs#
262264Sjacobs
272264Sjacobs#
282264Sjacobs# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $
292264Sjacobs#
302264Sjacobs
31*8744SAli.Bahrami@Sun.COM#
32*8744SAli.Bahrami@Sun.COM# MAPFILE HEADER START
33*8744SAli.Bahrami@Sun.COM#
34*8744SAli.Bahrami@Sun.COM# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
35*8744SAli.Bahrami@Sun.COM# Object versioning must comply with the rules detailed in
36*8744SAli.Bahrami@Sun.COM#
37*8744SAli.Bahrami@Sun.COM#	usr/src/lib/README.mapfiles
38*8744SAli.Bahrami@Sun.COM#
39*8744SAli.Bahrami@Sun.COM# You should not be making modifications here until you've read the most current
40*8744SAli.Bahrami@Sun.COM# copy of that file. If you need help, contact a gatekeeper for guidance.
41*8744SAli.Bahrami@Sun.COM#
42*8744SAli.Bahrami@Sun.COM# MAPFILE HEADER END
43*8744SAli.Bahrami@Sun.COM#
442264Sjacobs
452264Sjacobs#
462264Sjacobs# Common interfaces that are most likely to be shared amongst the various
472264Sjacobs# PAPI implementations.
482264Sjacobs#
492264Sjacobs
502264SjacobsSUNW_1.0 {
512264Sjacobs    global:
522264Sjacobs	# PAPI Attribute Calls
532264Sjacobs        papiAttributeListAddValue;
542264Sjacobs        papiAttributeListAddBoolean;
552264Sjacobs        papiAttributeListAddCollection;
562264Sjacobs        papiAttributeListAddDatetime;
572264Sjacobs        papiAttributeListAddInteger;
582264Sjacobs        papiAttributeListAddMetadata;
592264Sjacobs        papiAttributeListAddRange;
602264Sjacobs        papiAttributeListAddResolution;
612264Sjacobs        papiAttributeListAddString;
622264Sjacobs        papiAttributeListDelete;
632264Sjacobs        papiAttributeListGetValue;
642264Sjacobs        papiAttributeListGetNext;
652264Sjacobs        papiAttributeListFind;
662264Sjacobs        papiAttributeListGetBoolean;
672264Sjacobs        papiAttributeListGetCollection;
682264Sjacobs        papiAttributeListGetDatetime;
692264Sjacobs        papiAttributeListGetInteger;
702264Sjacobs        papiAttributeListGetMetadata;
712264Sjacobs        papiAttributeListGetRange;
722264Sjacobs        papiAttributeListGetResolution;
732264Sjacobs        papiAttributeListGetString;
742264Sjacobs        papiAttributeListFromString;
752264Sjacobs        papiAttributeListToString;
762264Sjacobs        papiAttributeListFree;
772264Sjacobs
782264Sjacobs	# PAPI Service Calls
794292Sab196087        papiServiceCreate =		NODYNSORT;
804292Sab196087        papiServiceDestroy =		NODYNSORT;
814292Sab196087        papiServiceSetUserName =	NODYNSORT;
824292Sab196087        papiServiceSetPassword =	NODYNSORT;
834292Sab196087        papiServiceSetEncryption =	NODYNSORT;
844292Sab196087        papiServiceSetAuthCB =		NODYNSORT;
854292Sab196087        papiServiceSetAppData =		NODYNSORT;
864292Sab196087        papiServiceGetUserName =	NODYNSORT;
874292Sab196087        papiServiceGetPassword =	NODYNSORT;
882264Sjacobs        papiServiceGetEncryption;
894292Sab196087        papiServiceGetAppData =		NODYNSORT;
904292Sab196087        papiServiceGetServiceName =	NODYNSORT;
914292Sab196087        papiServiceGetAttributeList =	NODYNSORT;
924292Sab196087        papiServiceGetStatusMessage =	NODYNSORT;
932264Sjacobs
942264Sjacobs	# PAPI Printer Calls
954292Sab196087        papiPrintersList =		NODYNSORT;
964292Sab196087        papiPrinterQuery =		NODYNSORT;
974292Sab196087        papiPrinterAdd =		NODYNSORT;
984292Sab196087        papiPrinterModify =		NODYNSORT;
994292Sab196087        papiPrinterRemove =		NODYNSORT;
1004292Sab196087        papiPrinterDisable =		NODYNSORT;
1014292Sab196087        papiPrinterEnable =		NODYNSORT;
1024292Sab196087        papiPrinterPause =		NODYNSORT;
1034292Sab196087        papiPrinterResume =		NODYNSORT;
1044292Sab196087        papiPrinterPurgeJobs =		NODYNSORT;
1054292Sab196087        papiPrinterListJobs =		NODYNSORT;
1064292Sab196087        papiPrinterGetAttributeList =	NODYNSORT;
1074292Sab196087        papiPrinterFree =		NODYNSORT;
1084292Sab196087        papiPrinterListFree =		NODYNSORT;
1092264Sjacobs
1102264Sjacobs	# PAPI Job Calls
1114292Sab196087        papiJobSubmit =			NODYNSORT;
1124292Sab196087        papiJobSubmitByReference =	NODYNSORT;
1134292Sab196087        papiJobValidate =		NODYNSORT;
1144292Sab196087        papiJobStreamOpen =		NODYNSORT;
1154292Sab196087        papiJobStreamWrite =		NODYNSORT;
1164292Sab196087        papiJobStreamClose =		NODYNSORT;
1174292Sab196087        papiJobQuery =			NODYNSORT;
1184292Sab196087        papiJobModify =			NODYNSORT;
1194292Sab196087        papiJobMove =			NODYNSORT;
1204292Sab196087        papiJobCancel =			NODYNSORT;
1214292Sab196087        papiJobHold =			NODYNSORT;
1224292Sab196087        papiJobRelease =		NODYNSORT;
1234292Sab196087        papiJobRestart =		NODYNSORT;
1244292Sab196087        papiJobPromote =		NODYNSORT;
1254292Sab196087        papiJobGetAttributeList =	NODYNSORT;
1264292Sab196087        papiJobGetPrinterName =		NODYNSORT;
1272264Sjacobs        papiJobGetId;
1284292Sab196087        papiJobGetJobTicket =		NODYNSORT;
1294292Sab196087        papiJobFree =			NODYNSORT;
1304292Sab196087        papiJobListFree =		NODYNSORT;
1312264Sjacobs
1322264Sjacobs	# Misc. PAPI Calls
1332264Sjacobs        papiStatusString;
1342264Sjacobs        papiLibrarySupportedCall;
1352264Sjacobs        papiLibrarySupportedCalls;
1362264Sjacobs};
1372264Sjacobs
1382264SjacobsSUNWprivate_1.0 { # Misc. semi-private supporting calls
1392264Sjacobs    global:
1404292Sab196087        papiServiceSetPeer =		NODYNSORT;
1414292Sab196087        papiJobCreate =			NODYNSORT;
1424292Sab196087        papiJobStreamAdd =		NODYNSORT;
1434292Sab196087        papiJobCommit =			NODYNSORT;
1442264Sjacobs
1452264Sjacobs	#     URI
1462264Sjacobs        uri_from_string;
1472264Sjacobs        uri_to_string;
1482264Sjacobs        uri_free;
1493125Sjacobs
1502264Sjacobs	#    list
1512264Sjacobs        list_remove;
1522264Sjacobs        list_append;
1532264Sjacobs        list_concatenate;
1542264Sjacobs
1553125Sjacobs	#	NS
1564292Sab196087	getprinterbyname =		NODYNSORT;
1573125Sjacobs
1582264Sjacobs	#    extra Attribute Calls
1592264Sjacobs        copy_attributes;
1602264Sjacobs        split_and_copy_attributes;
1612264Sjacobs	papiAttributeListPrint;
1622264Sjacobs
1637132Sps29005	is_localhost;
1647132Sps29005
1652264Sjacobs    local:
1662264Sjacobs        *;
1672264Sjacobs};
168