1*760cb77fSAndrew Rist# ************************************************************* 2*760cb77fSAndrew Rist# 3*760cb77fSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*760cb77fSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*760cb77fSAndrew Rist# distributed with this work for additional information 6*760cb77fSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*760cb77fSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*760cb77fSAndrew Rist# "License"); you may not use this file except in compliance 9*760cb77fSAndrew Rist# with the License. You may obtain a copy of the License at 10*760cb77fSAndrew Rist# 11*760cb77fSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*760cb77fSAndrew Rist# 13*760cb77fSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*760cb77fSAndrew Rist# software distributed under the License is distributed on an 15*760cb77fSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*760cb77fSAndrew Rist# KIND, either express or implied. See the License for the 17*760cb77fSAndrew Rist# specific language governing permissions and limitations 18*760cb77fSAndrew Rist# under the License. 19*760cb77fSAndrew Rist# 20*760cb77fSAndrew Rist# ************************************************************* 21cdf0e10cSrcweir# contain all functions, which are mark as deprecated 22cdf0e10cSrcweir# this function will removed from the allexportlist 23cdf0e10cSrcweir# Format of a line MUST be / (.*);/ 24cdf0e10cSrcweir 25cdf0e10cSrcweir rtl_ustr_trim; 26cdf0e10cSrcweir rtl_str_trim; 27cdf0e10cSrcweir 28cdf0e10cSrcweir# since 16.9.2003 29cdf0e10cSrcweir# Function List: 30cdf0e10cSrcweir# A. deprecated functions: 31cdf0e10cSrcweir# 1) Profile class and all its sub C API: 32cdf0e10cSrcweir osl_openProfile; 33cdf0e10cSrcweir osl_closeProfile; 34cdf0e10cSrcweir osl_flushProfile; 35cdf0e10cSrcweir osl_readProfileString; 36cdf0e10cSrcweir 37cdf0e10cSrcweir osl_readProfileBool; 38cdf0e10cSrcweir osl_readProfileIdent; 39cdf0e10cSrcweir osl_writeProfileString; 40cdf0e10cSrcweir 41cdf0e10cSrcweir osl_writeProfileBool; 42cdf0e10cSrcweir osl_writeProfileIdent; 43cdf0e10cSrcweir osl_removeProfileEntry; 44cdf0e10cSrcweir 45cdf0e10cSrcweir osl_getProfileSectionEntries; 46cdf0e10cSrcweir osl_getProfileSections; 47cdf0e10cSrcweir 48cdf0e10cSrcweir# 2) VolumeDevice class and all this sub C API: 49cdf0e10cSrcweir osl_unmountVolumeDevice; 50cdf0e10cSrcweir osl_automountVolumeDevice; 51cdf0e10cSrcweir osl_releaseVolumeDeviceHandle; 52cdf0e10cSrcweir 53cdf0e10cSrcweir osl_acquireVolumeDeviceHandle; 54cdf0e10cSrcweir osl_getVolumeDeviceMountPath; 55cdf0e10cSrcweir 56cdf0e10cSrcweir# 3) in FileBase class: 57cdf0e10cSrcweir osl_getCanonicalName; 58cdf0e10cSrcweir 59cdf0e10cSrcweir# B. untested functions: 60cdf0e10cSrcweir# functions need Client/Server model and blocking mode of transmission. some of the functions 61cdf0e10cSrcweir# can not run through on testshl2 env while the same code can run successfully in normal seperate 62cdf0e10cSrcweir# files. 63cdf0e10cSrcweir# 1) in DatagramSocket class: 64cdf0e10cSrcweir# osl_receiveFromSocket; 65cdf0e10cSrcweir# osl_sendToSocket; 66cdf0e10cSrcweir 67cdf0e10cSrcweir# 2) in StreamSocket class: 68cdf0e10cSrcweir# osl_readSocket; 69cdf0e10cSrcweir# osl_writeSocket; 70cdf0e10cSrcweir# osl_receiveSocket; 71cdf0e10cSrcweir# osl_sendSocket; 72cdf0e10cSrcweir 73cdf0e10cSrcweir# 3) in Socket class: 74cdf0e10cSrcweir osl_isExceptionPending; 75cdf0e10cSrcweir# osl_shutdownSocket; 76cdf0e10cSrcweir 77cdf0e10cSrcweir# 4) in Pipe class: 78cdf0e10cSrcweir# osl_acceptPipe; 79cdf0e10cSrcweir 80cdf0e10cSrcweir# 5) in StreamPipe class: 81cdf0e10cSrcweir# osl_readPipe; 82cdf0e10cSrcweir# osl_writePipe; 83cdf0e10cSrcweir# osl_receivePipe; 84cdf0e10cSrcweir# osl_sendPipe; 85cdf0e10cSrcweir 86cdf0e10cSrcweir#C. unreachable functions 87cdf0e10cSrcweir# (*)in .map file but does not appear in.hxx header file thus unreachable, 88cdf0e10cSrcweir# mostly for internal use, can not be reached by accessing class, so need 89cdf0e10cSrcweir# not be tested. 90cdf0e10cSrcweir# 1) in file module*: 91cdf0e10cSrcweir osl_abbreviateSystemPath; 92cdf0e10cSrcweir 93cdf0e10cSrcweir# 2) in socket module*: 94cdf0e10cSrcweir osl_addToSocketSet; 95cdf0e10cSrcweir osl_clearSocketSet; 96cdf0e10cSrcweir osl_createSocketSet; 97cdf0e10cSrcweir osl_destroySocketSet; 98cdf0e10cSrcweir osl_isInSocketSet; 99cdf0e10cSrcweir osl_removeFromSocketSet 100cdf0e10cSrcweir 101cdf0e10cSrcweir osl_createHostAddrByName; 102cdf0e10cSrcweir osl_createHostAddrByAddr; 103cdf0e10cSrcweir 104cdf0e10cSrcweir osl_createHostAddr; 105cdf0e10cSrcweir osl_copyHostAddr; 106cdf0e10cSrcweir osl_destroyHostAddr; 107cdf0e10cSrcweir osl_getHostnameOfHostAddr; 108cdf0e10cSrcweir osl_getSocketAddrOfHostAddr; 109cdf0e10cSrcweir osl_createInetBroadcastAddr; 110cdf0e10cSrcweir 111cdf0e10cSrcweir osl_demultiplexSocketEvents; 112cdf0e10cSrcweir osl_getDottedInetAddrOfSocketAddr; 113cdf0e10cSrcweir osl_getFamilyOfSocketAddr; 114cdf0e10cSrcweir 115cdf0e10cSrcweir# 3) in thread module*: 116cdf0e10cSrcweir osl_createThread; 117cdf0e10cSrcweir osl_setThreadTextEncoding; 118cdf0e10cSrcweir 119cdf0e10cSrcweir# or (#)does not wrapper into a class, only in C API. does not in our Class 120cdf0e10cSrcweir# check list. 121cdf0e10cSrcweir# 1) all diagnose module#: 122cdf0e10cSrcweir osl_breakDebug; 123cdf0e10cSrcweir osl_assertFailedLine; 124cdf0e10cSrcweir osl_trace; 125cdf0e10cSrcweir osl_reportError; 126cdf0e10cSrcweir 127cdf0e10cSrcweir osl_setDebugMessageFunc; 128cdf0e10cSrcweir 129cdf0e10cSrcweir# 2) all signal module#: 130cdf0e10cSrcweir osl_addSignalHandler; 131cdf0e10cSrcweir osl_removeSignalHandler; 132cdf0e10cSrcweir osl_raiseSignal; 133cdf0e10cSrcweir 134cdf0e10cSrcweir# 3) all time module#: 135cdf0e10cSrcweir osl_getSystemTime; 136cdf0e10cSrcweir osl_getDateTimeFromTimeValue; 137cdf0e10cSrcweir 138cdf0e10cSrcweir osl_getTimeValueFromDateTime; 139cdf0e10cSrcweir osl_getLocalTimeFromSystemTime; 140cdf0e10cSrcweir 141cdf0e10cSrcweir osl_getSystemTimeFromLocalTime; 142cdf0e10cSrcweir osl_getGlobalTimer; 143cdf0e10cSrcweir 144cdf0e10cSrcweir# 4) all process module#: 145cdf0e10cSrcweir osl_executeProcess; 146cdf0e10cSrcweir osl_executeProcess_WithRedirectedIO; 147cdf0e10cSrcweir 148cdf0e10cSrcweir osl_terminateProcess; 149cdf0e10cSrcweir osl_getProcess; 150cdf0e10cSrcweir 151cdf0e10cSrcweir osl_freeProcessHandle; 152cdf0e10cSrcweir osl_joinProcess; 153cdf0e10cSrcweir osl_joinProcessWithTimeout; 154cdf0e10cSrcweir 155cdf0e10cSrcweir osl_getProcessInfo; 156cdf0e10cSrcweir osl_getExecutableFile; 157cdf0e10cSrcweir osl_getCommandArgCount; 158cdf0e10cSrcweir 159cdf0e10cSrcweir osl_getCommandArg; 160cdf0e10cSrcweir osl_getEnvironment; 161cdf0e10cSrcweir osl_getProcessWorkingDir; 162cdf0e10cSrcweir 163cdf0e10cSrcweir osl_getProcessLocale; 164cdf0e10cSrcweir osl_setProcessLocale; 165cdf0e10cSrcweir osl_sendResourcePipe; 166cdf0e10cSrcweir 167cdf0e10cSrcweir osl_receiveResourcePipe; 168cdf0e10cSrcweir 169cdf0e10cSrcweir# 5) all util module#: 170cdf0e10cSrcweir osl_getEthernetAddress; 171cdf0e10cSrcweir 172cdf0e10cSrcweir 173cdf0e10cSrcweir 174cdf0e10cSrcweir### 175cdf0e10cSrcweir# LLA: 176cdf0e10cSrcweir# this functions are not deprecated, they only marked as deprecated, to say that 177cdf0e10cSrcweir# there is no test need. 178cdf0e10cSrcweir### 179cdf0e10cSrcweir rtl_zeroMemory; 180cdf0e10cSrcweir rtl_fillMemory; 181cdf0e10cSrcweir rtl_copyMemory; 182cdf0e10cSrcweir rtl_moveMemory; 183cdf0e10cSrcweir rtl_compareMemory; 184cdf0e10cSrcweir rtl_findInMemory; 185cdf0e10cSrcweir 186cdf0e10cSrcweir# LLA: 187cdf0e10cSrcweir# Marked as deprecated by Stephan Bergmann 188cdf0e10cSrcweir 189cdf0e10cSrcweir rtl_byte_sequence_reference2One; 190cdf0e10cSrcweir rtl_byte_sequence_realloc; 191cdf0e10cSrcweir rtl_byte_sequence_acquire; 192cdf0e10cSrcweir rtl_byte_sequence_release; 193cdf0e10cSrcweir rtl_byte_sequence_construct; 194cdf0e10cSrcweir rtl_byte_sequence_constructNoDefault; 195cdf0e10cSrcweir rtl_byte_sequence_constructFromArray; 196cdf0e10cSrcweir rtl_byte_sequence_assign; 197cdf0e10cSrcweir rtl_byte_sequence_equals; 198cdf0e10cSrcweir rtl_byte_sequence_getConstArray; 199cdf0e10cSrcweir rtl_byte_sequence_getLength; 200cdf0e10cSrcweir 201cdf0e10cSrcweir# LLA: 202cdf0e10cSrcweir# old test environment need no extra test 203cdf0e10cSrcweir rtl_tres_create; 204cdf0e10cSrcweir rtl_tres_destroy; 205cdf0e10cSrcweir 206cdf0e10cSrcweir# LLA: 207cdf0e10cSrcweir# found in source code, marked as deprecated 208cdf0e10cSrcweir# rtl_locale_getDefault; 209cdf0e10cSrcweir# rtl_locale_setDefault; 210cdf0e10cSrcweir 211cdf0e10cSrcweir# LLA: 212cdf0e10cSrcweir# marked as deprecated, due to the fact there is no access from outside 213cdf0e10cSrcweir# so this functions are not really accessable 214cdf0e10cSrcweir# They are used in rtl/source/locale.c 215cdf0e10cSrcweir rtl_hashentry_destroy; 216cdf0e10cSrcweir rtl_hashfunc; 217cdf0e10cSrcweir rtl_hashtable_add; 218cdf0e10cSrcweir rtl_hashtable_destroy; 219cdf0e10cSrcweir rtl_hashtable_find; 220cdf0e10cSrcweir rtl_hashtable_grow; 221cdf0e10cSrcweir rtl_hashtable_init; 222cdf0e10cSrcweir 223cdf0e10cSrcweir# LLA: 224cdf0e10cSrcweir# marked as deprecated by Joachim Lingner 20040414 225cdf0e10cSrcweir rtl_moduleCount_acquire; 226cdf0e10cSrcweir rtl_moduleCount_release; 227cdf0e10cSrcweir rtl_moduleCount_canUnload; 228cdf0e10cSrcweir rtl_registerModuleForUnloading; 229cdf0e10cSrcweir rtl_unregisterModuleForUnloading; 230cdf0e10cSrcweir rtl_unloadUnusedModules; 231cdf0e10cSrcweir rtl_addUnloadingListener; 232cdf0e10cSrcweir rtl_removeUnloadingListener; 233cdf0e10cSrcweir 234