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