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#
232264Sjacobs# Copyright 2006 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
312264Sjacobs# ident	"%Z%%M%	%I%	%E% SMI"
322264Sjacobs
332264Sjacobs#
342264Sjacobs# Common interfaces that are most likely to be shared amongst the various
352264Sjacobs# PAPI implementations.
362264Sjacobs#
372264Sjacobs
382264SjacobsSUNW_1.0 {
392264Sjacobs    global:
402264Sjacobs	# PAPI Attribute Calls
412264Sjacobs        papiAttributeListAddValue;
422264Sjacobs        papiAttributeListAddBoolean;
432264Sjacobs        papiAttributeListAddCollection;
442264Sjacobs        papiAttributeListAddDatetime;
452264Sjacobs        papiAttributeListAddInteger;
462264Sjacobs        papiAttributeListAddMetadata;
472264Sjacobs        papiAttributeListAddRange;
482264Sjacobs        papiAttributeListAddResolution;
492264Sjacobs        papiAttributeListAddString;
502264Sjacobs        papiAttributeListDelete;
512264Sjacobs        papiAttributeListGetValue;
522264Sjacobs        papiAttributeListGetNext;
532264Sjacobs        papiAttributeListFind;
542264Sjacobs        papiAttributeListGetBoolean;
552264Sjacobs        papiAttributeListGetCollection;
562264Sjacobs        papiAttributeListGetDatetime;
572264Sjacobs        papiAttributeListGetInteger;
582264Sjacobs        papiAttributeListGetMetadata;
592264Sjacobs        papiAttributeListGetRange;
602264Sjacobs        papiAttributeListGetResolution;
612264Sjacobs        papiAttributeListGetString;
622264Sjacobs        papiAttributeListFromString;
632264Sjacobs        papiAttributeListToString;
642264Sjacobs        papiAttributeListFree;
652264Sjacobs
662264Sjacobs	# PAPI Service Calls
672264Sjacobs        papiServiceCreate;
682264Sjacobs        papiServiceDestroy;
692264Sjacobs        papiServiceSetUserName;
702264Sjacobs        papiServiceSetPassword;
712264Sjacobs        papiServiceSetEncryption;
722264Sjacobs        papiServiceSetAuthCB;
732264Sjacobs        papiServiceSetAppData;
742264Sjacobs        papiServiceGetUserName;
752264Sjacobs        papiServiceGetPassword;
762264Sjacobs        papiServiceGetEncryption;
772264Sjacobs        papiServiceGetAppData;
782264Sjacobs        papiServiceGetServiceName;
792264Sjacobs        papiServiceGetAttributeList;
802264Sjacobs        papiServiceGetStatusMessage;
812264Sjacobs
822264Sjacobs	# PAPI Printer Calls
832264Sjacobs        papiPrintersList;
842264Sjacobs        papiPrinterQuery;
852264Sjacobs        papiPrinterAdd;
862264Sjacobs        papiPrinterModify;
872264Sjacobs        papiPrinterRemove;
882264Sjacobs        papiPrinterDisable;
892264Sjacobs        papiPrinterEnable;
902264Sjacobs        papiPrinterPause;
912264Sjacobs        papiPrinterResume;
922264Sjacobs        papiPrinterPurgeJobs;
932264Sjacobs        papiPrinterListJobs;
942264Sjacobs        papiPrinterGetAttributeList;
952264Sjacobs        papiPrinterFree;
962264Sjacobs        papiPrinterListFree;
972264Sjacobs
982264Sjacobs	# PAPI Job Calls
992264Sjacobs        papiJobSubmit;
1002264Sjacobs        papiJobSubmitByReference;
1012264Sjacobs        papiJobValidate;
1022264Sjacobs        papiJobStreamOpen;
1032264Sjacobs        papiJobStreamWrite;
1042264Sjacobs        papiJobStreamClose;
1052264Sjacobs        papiJobQuery;
1062264Sjacobs        papiJobModify;
1072264Sjacobs        papiJobMove;
1082264Sjacobs        papiJobCancel;
1092264Sjacobs        papiJobHold;
1102264Sjacobs        papiJobRelease;
1112264Sjacobs        papiJobRestart;
1122264Sjacobs        papiJobPromote;
1132264Sjacobs        papiJobGetAttributeList;
1142264Sjacobs        papiJobGetPrinterName;
1152264Sjacobs        papiJobGetId;
1162264Sjacobs        papiJobGetJobTicket;
1172264Sjacobs        papiJobFree;
1182264Sjacobs        papiJobListFree;
1192264Sjacobs
1202264Sjacobs	# Misc. PAPI Calls
1212264Sjacobs        papiStatusString;
1222264Sjacobs        papiLibrarySupportedCall;
1232264Sjacobs        papiLibrarySupportedCalls;
1242264Sjacobs};
1252264Sjacobs
1262264SjacobsSUNWprivate_1.0 { # Misc. semi-private supporting calls
1272264Sjacobs    global:
1282264Sjacobs        papiServiceSetPeer;
1292264Sjacobs        papiJobCreate;
1302264Sjacobs        papiJobStreamAdd;
1312264Sjacobs        papiJobCommit;
1322264Sjacobs
1332264Sjacobs	#     URI
1342264Sjacobs        uri_from_string;
1352264Sjacobs        uri_to_string;
1362264Sjacobs        uri_free;
137*3125Sjacobs
1382264Sjacobs	#    list
1392264Sjacobs        list_remove;
1402264Sjacobs        list_append;
1412264Sjacobs        list_concatenate;
1422264Sjacobs
143*3125Sjacobs	#	NS
144*3125Sjacobs	getprinterbyname;
145*3125Sjacobs
1462264Sjacobs	#    extra Attribute Calls
1472264Sjacobs        copy_attributes;
1482264Sjacobs        split_and_copy_attributes;
1492264Sjacobs	papiAttributeListPrint;
1502264Sjacobs
1512264Sjacobs    local:
1522264Sjacobs        *;
1532264Sjacobs};
154