#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

#
# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $
#

# ident	"%Z%%M%	%I%	%E% SMI"

#
# Common interfaces that are most likely to be shared amongst the various
# PAPI implementations.
#

SUNW_1.0 {
    global:
	# PAPI Attribute Calls
        papiAttributeListAddValue;
        papiAttributeListAddBoolean;
        papiAttributeListAddCollection;
        papiAttributeListAddDatetime;
        papiAttributeListAddInteger;
        papiAttributeListAddMetadata;
        papiAttributeListAddRange;
        papiAttributeListAddResolution;
        papiAttributeListAddString;
        papiAttributeListDelete;
        papiAttributeListGetValue;
        papiAttributeListGetNext;
        papiAttributeListFind;
        papiAttributeListGetBoolean;
        papiAttributeListGetCollection;
        papiAttributeListGetDatetime;
        papiAttributeListGetInteger;
        papiAttributeListGetMetadata;
        papiAttributeListGetRange;
        papiAttributeListGetResolution;
        papiAttributeListGetString;
        papiAttributeListFromString;
        papiAttributeListToString;
        papiAttributeListFree;

	# PAPI Service Calls
        papiServiceCreate;
        papiServiceDestroy;
        papiServiceSetUserName;
        papiServiceSetPassword;
        papiServiceSetEncryption;
        papiServiceSetAuthCB;
        papiServiceSetAppData;
        papiServiceGetUserName;
        papiServiceGetPassword;
        papiServiceGetEncryption;
        papiServiceGetAppData;
        papiServiceGetServiceName;
        papiServiceGetAttributeList;
        papiServiceGetStatusMessage;

	# PAPI Printer Calls
        papiPrintersList;
        papiPrinterQuery;
        papiPrinterAdd;
        papiPrinterModify;
        papiPrinterRemove;
        papiPrinterDisable;
        papiPrinterEnable;
        papiPrinterPause;
        papiPrinterResume;
        papiPrinterPurgeJobs;
        papiPrinterListJobs;
        papiPrinterGetAttributeList;
        papiPrinterFree;
        papiPrinterListFree;

	# PAPI Job Calls
        papiJobSubmit;
        papiJobSubmitByReference;
        papiJobValidate;
        papiJobStreamOpen;
        papiJobStreamWrite;
        papiJobStreamClose;
        papiJobQuery;
        papiJobModify;
        papiJobMove;
        papiJobCancel;
        papiJobHold;
        papiJobRelease;
        papiJobRestart;
        papiJobPromote;
        papiJobGetAttributeList;
        papiJobGetPrinterName;
        papiJobGetId;
        papiJobGetJobTicket;
        papiJobFree;
        papiJobListFree;

	# Misc. PAPI Calls
        papiStatusString;
        papiLibrarySupportedCall;
        papiLibrarySupportedCalls;
};

SUNWprivate_1.0 { # Misc. semi-private supporting calls
    global:
        papiServiceSetPeer;
        papiJobCreate;
        papiJobStreamAdd;
        papiJobCommit;

	#     URI
        uri_from_string;
        uri_to_string;
        uri_free;

	#    list
        list_remove;
        list_append;
        list_concatenate;

	#	NS
	getprinterbyname;

	#    extra Attribute Calls
        copy_attributes;
        split_and_copy_attributes;
	papiAttributeListPrint;

    local:
        *;
};