1*355b4669Sjacobs# 2*355b4669Sjacobs# CDDL HEADER START 3*355b4669Sjacobs# 4*355b4669Sjacobs# The contents of this file are subject to the terms of the 5*355b4669Sjacobs# Common Development and Distribution License (the "License"). 6*355b4669Sjacobs# You may not use this file except in compliance with the License. 7*355b4669Sjacobs# 8*355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*355b4669Sjacobs# or http://www.opensolaris.org/os/licensing. 10*355b4669Sjacobs# See the License for the specific language governing permissions 11*355b4669Sjacobs# and limitations under the License. 12*355b4669Sjacobs# 13*355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each 14*355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the 16*355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying 17*355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner] 18*355b4669Sjacobs# 19*355b4669Sjacobs# CDDL HEADER END 20*355b4669Sjacobs# 21*355b4669Sjacobs 22*355b4669Sjacobs# 23*355b4669Sjacobs# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*355b4669Sjacobs# Use is subject to license terms. 25*355b4669Sjacobs# 26*355b4669Sjacobs 27*355b4669Sjacobs# 28*355b4669Sjacobs# $Id: mapfile.in,v 1.2 2006/03/02 06:31:36 njacobs Exp $ 29*355b4669Sjacobs# 30*355b4669Sjacobs 31*355b4669Sjacobs# ident "%Z%%M% %I% %E% SMI" 32*355b4669Sjacobs 33*355b4669Sjacobs# 34*355b4669Sjacobs# Common interfaces that are most likely to be shared amongst the various 35*355b4669Sjacobs# PAPI implementations. 36*355b4669Sjacobs# 37*355b4669Sjacobs 38*355b4669SjacobsSUNW_1.0 { 39*355b4669Sjacobs global: 40*355b4669Sjacobs # PAPI Attribute Calls 41*355b4669Sjacobs papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ; 42*355b4669Sjacobs papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ; 43*355b4669Sjacobs papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ; 44*355b4669Sjacobs papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ; 45*355b4669Sjacobs papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ; 46*355b4669Sjacobs papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ; 47*355b4669Sjacobs papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ; 48*355b4669Sjacobs papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ; 49*355b4669Sjacobs papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ; 50*355b4669Sjacobs papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ; 51*355b4669Sjacobs papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ; 52*355b4669Sjacobs papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ; 53*355b4669Sjacobs papiAttributeListFind = FUNCTION FILTER libpapi-common.so ; 54*355b4669Sjacobs papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ; 55*355b4669Sjacobs papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ; 56*355b4669Sjacobs papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ; 57*355b4669Sjacobs papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ; 58*355b4669Sjacobs papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ; 59*355b4669Sjacobs papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ; 60*355b4669Sjacobs papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ; 61*355b4669Sjacobs papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ; 62*355b4669Sjacobs papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ; 63*355b4669Sjacobs papiAttributeListToString = FUNCTION FILTER libpapi-common.so ; 64*355b4669Sjacobs papiAttributeListFree = FUNCTION FILTER libpapi-common.so ; 65*355b4669Sjacobs 66*355b4669Sjacobs # PAPI Service Calls 67*355b4669Sjacobs papiServiceCreate ; 68*355b4669Sjacobs papiServiceDestroy ; 69*355b4669Sjacobs papiServiceSetUserName ; 70*355b4669Sjacobs papiServiceSetPassword ; 71*355b4669Sjacobs papiServiceSetEncryption ; 72*355b4669Sjacobs papiServiceSetAuthCB ; 73*355b4669Sjacobs papiServiceSetAppData ; 74*355b4669Sjacobs papiServiceGetUserName ; 75*355b4669Sjacobs papiServiceGetPassword ; 76*355b4669Sjacobs papiServiceGetEncryption ; 77*355b4669Sjacobs papiServiceGetAppData ; 78*355b4669Sjacobs papiServiceGetServiceName ; 79*355b4669Sjacobs papiServiceGetAttributeList ; 80*355b4669Sjacobs papiServiceGetStatusMessage ; 81*355b4669Sjacobs 82*355b4669Sjacobs # PAPI Printer Calls 83*355b4669Sjacobs papiPrintersList ; 84*355b4669Sjacobs papiPrinterQuery ; 85*355b4669Sjacobs papiPrinterAdd ; 86*355b4669Sjacobs papiPrinterModify ; 87*355b4669Sjacobs papiPrinterRemove ; 88*355b4669Sjacobs papiPrinterDisable ; 89*355b4669Sjacobs papiPrinterEnable ; 90*355b4669Sjacobs papiPrinterPause ; 91*355b4669Sjacobs papiPrinterResume ; 92*355b4669Sjacobs papiPrinterPurgeJobs ; 93*355b4669Sjacobs papiPrinterListJobs ; 94*355b4669Sjacobs papiPrinterGetAttributeList ; 95*355b4669Sjacobs papiPrinterFree ; 96*355b4669Sjacobs papiPrinterListFree ; 97*355b4669Sjacobs 98*355b4669Sjacobs # PAPI Job Calls 99*355b4669Sjacobs papiJobSubmit ; 100*355b4669Sjacobs papiJobSubmitByReference ; 101*355b4669Sjacobs papiJobValidate ; 102*355b4669Sjacobs papiJobStreamOpen ; 103*355b4669Sjacobs papiJobStreamWrite ; 104*355b4669Sjacobs papiJobStreamClose ; 105*355b4669Sjacobs papiJobQuery ; 106*355b4669Sjacobs papiJobModify ; 107*355b4669Sjacobs papiJobMove ; 108*355b4669Sjacobs papiJobCancel ; 109*355b4669Sjacobs papiJobHold ; 110*355b4669Sjacobs papiJobRelease ; 111*355b4669Sjacobs papiJobRestart ; 112*355b4669Sjacobs papiJobPromote ; 113*355b4669Sjacobs papiJobGetAttributeList ; 114*355b4669Sjacobs papiJobGetPrinterName ; 115*355b4669Sjacobs papiJobGetId ; 116*355b4669Sjacobs papiJobGetJobTicket ; 117*355b4669Sjacobs papiJobFree ; 118*355b4669Sjacobs papiJobListFree ; 119*355b4669Sjacobs 120*355b4669Sjacobs # Misc. PAPI Calls 121*355b4669Sjacobs papiStatusString = FUNCTION FILTER libpapi-common.so ; 122*355b4669Sjacobs papiLibrarySupportedCall = FUNCTION FILTER libpapi-common.so ; 123*355b4669Sjacobs papiLibrarySupportedCalls = FUNCTION FILTER libpapi-common.so ; 124*355b4669Sjacobs}; 125*355b4669Sjacobs 126*355b4669SjacobsSUNWprivate_1.0 { 127*355b4669Sjacobs global: 128*355b4669Sjacobs papiServiceSetPeer ; # extension 129*355b4669Sjacobs papiJobCreate ; 130*355b4669Sjacobs papiJobStreamAdd ; 131*355b4669Sjacobs papiJobCommit ; 132*355b4669Sjacobs 133*355b4669Sjacobs # Misc. supporting calls 134*355b4669Sjacobs # URI 135*355b4669Sjacobs uri_from_string = FUNCTION FILTER libpapi-common.so ; 136*355b4669Sjacobs uri_to_string = FUNCTION FILTER libpapi-common.so ; 137*355b4669Sjacobs uri_free = FUNCTION FILTER libpapi-common.so ; 138*355b4669Sjacobs # list 139*355b4669Sjacobs list_remove = FUNCTION FILTER libpapi-common.so ; 140*355b4669Sjacobs list_append = FUNCTION FILTER libpapi-common.so ; 141*355b4669Sjacobs list_concatenate = FUNCTION FILTER libpapi-common.so ; 142*355b4669Sjacobs 143*355b4669Sjacobs # extra Attribute Calls 144*355b4669Sjacobs copy_attributes = FUNCTION FILTER libpapi-common.so ; 145*355b4669Sjacobs split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ; 146*355b4669Sjacobs papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ; 147*355b4669Sjacobs 148*355b4669Sjacobs local: 149*355b4669Sjacobs * ; 150*355b4669Sjacobs} ; 151