1355b4669Sjacobs# 2355b4669Sjacobs# CDDL HEADER START 3355b4669Sjacobs# 4355b4669Sjacobs# The contents of this file are subject to the terms of the 5355b4669Sjacobs# Common Development and Distribution License (the "License"). 6355b4669Sjacobs# You may not use this file except in compliance with the License. 7355b4669Sjacobs# 8355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9355b4669Sjacobs# or http://www.opensolaris.org/os/licensing. 10355b4669Sjacobs# See the License for the specific language governing permissions 11355b4669Sjacobs# and limitations under the License. 12355b4669Sjacobs# 13355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each 14355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the 16355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying 17355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner] 18355b4669Sjacobs# 19355b4669Sjacobs# CDDL HEADER END 20355b4669Sjacobs# 21*cd3e9333SAli Bahrami# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 22355b4669Sjacobs# 23355b4669Sjacobs# Generic interface definition for usr/src/cmd/lp/lib/papi 24355b4669Sjacobs# 25bfed486aSAli Bahrami 26355b4669Sjacobs# 27bfed486aSAli Bahrami# MAPFILE HEADER START 28bfed486aSAli Bahrami# 29bfed486aSAli Bahrami# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 30bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in 31bfed486aSAli Bahrami# 32bfed486aSAli Bahrami# usr/src/lib/README.mapfiles 33bfed486aSAli Bahrami# 34bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current 35bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance. 36bfed486aSAli Bahrami# 37bfed486aSAli Bahrami# MAPFILE HEADER END 38bfed486aSAli Bahrami# 39355b4669Sjacobs 40*cd3e9333SAli Bahrami$mapfile_version 2 41*cd3e9333SAli Bahrami 42*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.0 { 43355b4669Sjacobs global: 44355b4669Sjacobs # PAPI Attribute Calls 45355b4669Sjacobs papiAttributeListAdd; 46*cd3e9333SAli Bahrami papiAttributeListAddValue { 47*cd3e9333SAli Bahrami TYPE = FUNCTION; 48*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 49*cd3e9333SAli Bahrami }; 50*cd3e9333SAli Bahrami papiAttributeListAddBoolean { 51*cd3e9333SAli Bahrami TYPE = FUNCTION; 52*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 53*cd3e9333SAli Bahrami }; 54*cd3e9333SAli Bahrami papiAttributeListAddCollection { 55*cd3e9333SAli Bahrami TYPE = FUNCTION; 56*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 57*cd3e9333SAli Bahrami }; 58*cd3e9333SAli Bahrami papiAttributeListAddDatetime { 59*cd3e9333SAli Bahrami TYPE = FUNCTION; 60*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 61*cd3e9333SAli Bahrami }; 62*cd3e9333SAli Bahrami papiAttributeListAddInteger { 63*cd3e9333SAli Bahrami TYPE = FUNCTION; 64*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 65*cd3e9333SAli Bahrami }; 66*cd3e9333SAli Bahrami papiAttributeListAddMetadata { 67*cd3e9333SAli Bahrami TYPE = FUNCTION; 68*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 69*cd3e9333SAli Bahrami }; 70*cd3e9333SAli Bahrami papiAttributeListAddRange { 71*cd3e9333SAli Bahrami TYPE = FUNCTION; 72*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 73*cd3e9333SAli Bahrami }; 74*cd3e9333SAli Bahrami papiAttributeListAddResolution { 75*cd3e9333SAli Bahrami TYPE = FUNCTION; 76*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 77*cd3e9333SAli Bahrami }; 78*cd3e9333SAli Bahrami papiAttributeListAddString { 79*cd3e9333SAli Bahrami TYPE = FUNCTION; 80*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 81*cd3e9333SAli Bahrami }; 82*cd3e9333SAli Bahrami papiAttributeListDelete { 83*cd3e9333SAli Bahrami TYPE = FUNCTION; 84*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 85*cd3e9333SAli Bahrami }; 86*cd3e9333SAli Bahrami papiAttributeListGetValue { 87*cd3e9333SAli Bahrami TYPE = FUNCTION; 88*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 89*cd3e9333SAli Bahrami }; 90*cd3e9333SAli Bahrami papiAttributeListGetNext { 91*cd3e9333SAli Bahrami TYPE = FUNCTION; 92*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 93*cd3e9333SAli Bahrami }; 94*cd3e9333SAli Bahrami papiAttributeListFind { 95*cd3e9333SAli Bahrami TYPE = FUNCTION; 96*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 97*cd3e9333SAli Bahrami }; 98*cd3e9333SAli Bahrami papiAttributeListGetBoolean { 99*cd3e9333SAli Bahrami TYPE = FUNCTION; 100*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 101*cd3e9333SAli Bahrami }; 102*cd3e9333SAli Bahrami papiAttributeListGetCollection { 103*cd3e9333SAli Bahrami TYPE = FUNCTION; 104*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 105*cd3e9333SAli Bahrami }; 106*cd3e9333SAli Bahrami papiAttributeListGetDatetime { 107*cd3e9333SAli Bahrami TYPE = FUNCTION; 108*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 109*cd3e9333SAli Bahrami }; 110*cd3e9333SAli Bahrami papiAttributeListGetInteger { 111*cd3e9333SAli Bahrami TYPE = FUNCTION; 112*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 113*cd3e9333SAli Bahrami }; 114*cd3e9333SAli Bahrami papiAttributeListGetMetadata { 115*cd3e9333SAli Bahrami TYPE = FUNCTION; 116*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 117*cd3e9333SAli Bahrami }; 118*cd3e9333SAli Bahrami papiAttributeListGetRange { 119*cd3e9333SAli Bahrami TYPE = FUNCTION; 120*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 121*cd3e9333SAli Bahrami }; 122*cd3e9333SAli Bahrami papiAttributeListGetResolution { 123*cd3e9333SAli Bahrami TYPE = FUNCTION; 124*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 125*cd3e9333SAli Bahrami }; 126*cd3e9333SAli Bahrami papiAttributeListGetString { 127*cd3e9333SAli Bahrami TYPE = FUNCTION; 128*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 129*cd3e9333SAli Bahrami }; 130*cd3e9333SAli Bahrami papiAttributeListFromString { 131*cd3e9333SAli Bahrami TYPE = FUNCTION; 132*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 133*cd3e9333SAli Bahrami }; 134*cd3e9333SAli Bahrami papiAttributeListToString { 135*cd3e9333SAli Bahrami TYPE = FUNCTION; 136*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 137*cd3e9333SAli Bahrami }; 138*cd3e9333SAli Bahrami papiAttributeListFree { 139*cd3e9333SAli Bahrami TYPE = FUNCTION; 140*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 141*cd3e9333SAli Bahrami }; 142355b4669Sjacobs 143355b4669Sjacobs # PAPI Service Calls 144355b4669Sjacobs papiServiceCreate; 145355b4669Sjacobs papiServiceDestroy; 146355b4669Sjacobs papiServiceSetUserName; 147355b4669Sjacobs papiServiceSetPassword; 148355b4669Sjacobs papiServiceSetEncryption; 149355b4669Sjacobs papiServiceSetAuthCB; 150355b4669Sjacobs papiServiceSetAppData; 151355b4669Sjacobs papiServiceGetUserName; 152355b4669Sjacobs papiServiceGetPassword; 153355b4669Sjacobs papiServiceGetEncryption; 154355b4669Sjacobs papiServiceGetAppData; 155355b4669Sjacobs papiServiceGetServiceName; 156355b4669Sjacobs papiServiceGetAttributeList; 157355b4669Sjacobs papiServiceGetStatusMessage; 158355b4669Sjacobs 159355b4669Sjacobs # PAPI Printer Calls 160355b4669Sjacobs papiPrintersList; 161355b4669Sjacobs papiPrinterQuery; 162355b4669Sjacobs papiPrinterAdd; 163355b4669Sjacobs papiPrinterModify; 164355b4669Sjacobs papiPrinterRemove; 165355b4669Sjacobs papiPrinterDisable; 166355b4669Sjacobs papiPrinterEnable; 167355b4669Sjacobs papiPrinterPause; 168355b4669Sjacobs papiPrinterResume; 169355b4669Sjacobs papiPrinterPurgeJobs; 170355b4669Sjacobs papiPrinterListJobs; 171355b4669Sjacobs papiPrinterGetAttributeList; 172355b4669Sjacobs papiPrinterFree; 173355b4669Sjacobs papiPrinterListFree; 174355b4669Sjacobs 175355b4669Sjacobs # PAPI Job Calls 176355b4669Sjacobs papiJobSubmit; 177355b4669Sjacobs papiJobSubmitByReference; 178355b4669Sjacobs papiJobValidate; 179355b4669Sjacobs papiJobStreamOpen; 180355b4669Sjacobs papiJobStreamWrite; 181355b4669Sjacobs papiJobStreamClose; 182355b4669Sjacobs papiJobQuery; 183355b4669Sjacobs papiJobModify; 184355b4669Sjacobs papiJobMove; 185355b4669Sjacobs papiJobCancel; 186355b4669Sjacobs papiJobHold; 187355b4669Sjacobs papiJobRelease; 188*cd3e9333SAli Bahrami papiJobRestart { 189*cd3e9333SAli Bahrami TYPE = FUNCTION; 190*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 191*cd3e9333SAli Bahrami }; 192355b4669Sjacobs papiJobPromote; 193355b4669Sjacobs papiJobGetAttributeList; 194355b4669Sjacobs papiJobGetPrinterName; 195355b4669Sjacobs papiJobGetId; 196*cd3e9333SAli Bahrami papiJobGetJobTicket { 197*cd3e9333SAli Bahrami TYPE = FUNCTION; 198*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 199*cd3e9333SAli Bahrami }; 200355b4669Sjacobs papiJobFree; 201355b4669Sjacobs papiJobListFree; 202355b4669Sjacobs 203355b4669Sjacobs # Misc. PAPI Calls 204*cd3e9333SAli Bahrami papiStatusString { 205*cd3e9333SAli Bahrami TYPE = FUNCTION; 206*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 207*cd3e9333SAli Bahrami }; 208355b4669Sjacobs papiLibrarySupportedCall; 209355b4669Sjacobs papiLibrarySupportedCalls; 210355b4669Sjacobs}; 211355b4669Sjacobs 212*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.0 { 213355b4669Sjacobs global: 214355b4669Sjacobs papiServiceSetPeer; # used by to pass peer connection 215355b4669Sjacobs papiJobCreate; 216355b4669Sjacobs papiJobStreamAdd; 217355b4669Sjacobs papiJobCommit; 218355b4669Sjacobs 219355b4669Sjacobs # Misc. supporting calls 220355b4669Sjacobs # URI 221*cd3e9333SAli Bahrami uri_from_string { 222*cd3e9333SAli Bahrami TYPE = FUNCTION; 223*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 224*cd3e9333SAli Bahrami }; 225*cd3e9333SAli Bahrami uri_to_string { 226*cd3e9333SAli Bahrami TYPE = FUNCTION; 227*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 228*cd3e9333SAli Bahrami }; 229*cd3e9333SAli Bahrami uri_free { 230*cd3e9333SAli Bahrami TYPE = FUNCTION; 231*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 232*cd3e9333SAli Bahrami }; 233355b4669Sjacobs # list 234*cd3e9333SAli Bahrami list_remove { 235*cd3e9333SAli Bahrami TYPE = FUNCTION; 236*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 237*cd3e9333SAli Bahrami }; 238*cd3e9333SAli Bahrami list_append { 239*cd3e9333SAli Bahrami TYPE = FUNCTION; 240*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 241*cd3e9333SAli Bahrami }; 242*cd3e9333SAli Bahrami list_concatenate { 243*cd3e9333SAli Bahrami TYPE = FUNCTION; 244*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 245*cd3e9333SAli Bahrami }; 246355b4669Sjacobs 2470a44ef6dSjacobs # NS 248*cd3e9333SAli Bahrami getprinterbyname { 249*cd3e9333SAli Bahrami TYPE = FUNCTION; 250*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 251*cd3e9333SAli Bahrami }; 252*cd3e9333SAli Bahrami is_localhost { 253*cd3e9333SAli Bahrami TYPE = FUNCTION; 254*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 255*cd3e9333SAli Bahrami }; 2560a44ef6dSjacobs 257355b4669Sjacobs # extra Attribute Calls 258*cd3e9333SAli Bahrami copy_attributes { 259*cd3e9333SAli Bahrami TYPE = FUNCTION; 260*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 261*cd3e9333SAli Bahrami }; 262*cd3e9333SAli Bahrami split_and_copy_attributes { 263*cd3e9333SAli Bahrami TYPE = FUNCTION; 264*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 265*cd3e9333SAli Bahrami }; 266*cd3e9333SAli Bahrami papiAttributeListPrint { 267*cd3e9333SAli Bahrami TYPE = FUNCTION; 268*cd3e9333SAli Bahrami FILTER = libpapi-common.so; 269*cd3e9333SAli Bahrami }; 270355b4669Sjacobs 271355b4669Sjacobs local: 272355b4669Sjacobs *; 273355b4669Sjacobs}; 274