# # 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 = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ; papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ; papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ; papiAttributeListFind = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ; papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ; papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ; papiAttributeListToString = FUNCTION FILTER libpapi-common.so ; papiAttributeListFree = FUNCTION FILTER libpapi-common.so ; # PAPI Service Calls papiServiceCreate ; papiServiceDestroy ; papiServiceSetUserName ; papiServiceSetPassword ; papiServiceSetEncryption ; papiServiceSetAuthCB ; papiServiceSetAppData ; papiServiceGetUserName ; papiServiceGetPassword ; papiServiceGetEncryption ; papiServiceGetAppData ; papiServiceGetServiceName ; papiServiceGetAttributeList ; papiServiceGetStatusMessage ; # PAPI Printer Calls papiPrintersList = FUNCTION FILTER libpapi-common.so ; papiPrinterQuery ; papiPrinterAdd = FUNCTION FILTER libpapi-common.so ; papiPrinterModify = FUNCTION FILTER libpapi-common.so ; papiPrinterRemove = FUNCTION FILTER libpapi-common.so ; papiPrinterDisable = FUNCTION FILTER libpapi-common.so ; papiPrinterEnable = FUNCTION FILTER libpapi-common.so ; papiPrinterPause = FUNCTION FILTER libpapi-common.so ; papiPrinterResume = FUNCTION FILTER libpapi-common.so ; papiPrinterPurgeJobs ; papiPrinterListJobs ; papiPrinterGetAttributeList ; papiPrinterFree ; papiPrinterListFree ; # PAPI Job Calls papiJobSubmit ; papiJobSubmitByReference ; papiJobValidate = FUNCTION FILTER libpapi-common.so ; papiJobStreamOpen ; papiJobStreamWrite ; papiJobStreamClose ; papiJobQuery ; papiJobModify = FUNCTION FILTER libpapi-common.so ; papiJobMove = FUNCTION FILTER libpapi-common.so ; papiJobCancel ; papiJobHold = FUNCTION FILTER libpapi-common.so ; papiJobRelease = FUNCTION FILTER libpapi-common.so ; papiJobRestart = FUNCTION FILTER libpapi-common.so ; papiJobPromote = FUNCTION FILTER libpapi-common.so ; papiJobGetAttributeList ; papiJobGetPrinterName ; papiJobGetId ; papiJobGetJobTicket = FUNCTION FILTER libpapi-common.so ; papiJobFree ; papiJobListFree ; # Misc. PAPI Calls papiStatusString = FUNCTION FILTER libpapi-common.so ; papiLibrarySupportedCall ; papiLibrarySupportedCalls ; }; SUNWprivate_1.0 { global: papiServiceSetPeer = FUNCTION FILTER libpapi-common.so ; papiJobCreate = FUNCTION FILTER libpapi-common.so ; papiJobStreamAdd = FUNCTION FILTER libpapi-common.so ; papiJobCommit = FUNCTION FILTER libpapi-common.so ; # Misc. supporting calls # URI uri_from_string = FUNCTION FILTER libpapi-common.so ; uri_to_string = FUNCTION FILTER libpapi-common.so ; uri_free = FUNCTION FILTER libpapi-common.so ; # list list_remove = FUNCTION FILTER libpapi-common.so ; list_append = FUNCTION FILTER libpapi-common.so ; list_concatenate = FUNCTION FILTER libpapi-common.so ; # NS getprinterbyname = FUNCTION FILTER libpapi-common.so ; # extra Attribute Calls copy_attributes = FUNCTION FILTER libpapi-common.so ; split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ; papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ; local: * ; } ;