English:

The Free and Open Productivity Suite
Help us Help the World

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Global Namespace in C++



Nested Namespaces

_STL
com
cppu
namespace_anonymous_1
osl
rtl
sal
salhelper
store
typereg

Classes

RTConstValue specifies a helper class for const values.
Registry The Registry provides the functionality to read and write information in a registry file.
RegistryKey RegistryKey reads or writes information of the underlying key in a registry.
RegistryKeyArray RegistryKeyArray represents an array of open keys.
RegistryKeyNames RegistryKeyNames represents an array of key names.
RegistryTypeReader RegistryTypeReades reads a binary type blob.
RegistryTypeWriter RegistryTypeWriter writes/creates a binary type blob.
RegistryValueList RegistryValueList represents a value list of the specified type.

Structs

RTUik deprecated.
RegistryTypeReader_Api specifies a collection of function pointers which represents the complete registry type reader C-API.
RegistryTypeWriter_Api specifies a collection of function pointers which represents the complete registry type writer C-API.
Registry_Api specifies a collection of function pointers which represents the complete registry C-API.
__store_FindData Find Data structure.
_oslDateTime
_oslFileStatus Structure containing information about files and directories
_oslVolumeInfo Structure containing information about volumes
_rtl_Locale
_rtl_ModuleCount
_rtl_StandardModuleCount
_rtl_TestResult
_rtl_TestResult_vtable
_rtl_TextEncodingInfo Information about a text encoding.
_sal_Sequence This is the binary specification of a SAL sequence. <br>
_typelib_ArrayTypeDescription Type description of an array.
_typelib_CompoundMember_Init Init struct of compound members for typelib_typedescription_new().
_typelib_CompoundTypeDescription Type description for exception types.
_typelib_EnumTypeDescription Type description of an enum. The type class of this description is typelib_TypeClass_ENUM.
_typelib_IndirectTypeDescription Type description of an array or sequence.
_typelib_InterfaceAttributeTypeDescription The description of an interface attribute. The type class of this description is typelib_TypeClass_INTERFACE_ATTRIBUTE. The size and the alignment are 0.
_typelib_InterfaceMemberTypeDescription Common base type description of typelib_InterfaceMethodTypeDescription and typelib_InterfaceAttributeTypeDescription.
_typelib_InterfaceMethodTypeDescription Type description of an interface method. The type class of this description is typelib_TypeClass_INTERFACE_METHOD. The size and the alignment are 0.
_typelib_InterfaceTypeDescription Type description of an interface.
_typelib_MethodParameter Description of an interface method parameter.
_typelib_Parameter_Init Init struct of interface methods for typelib_typedescription_new().
_typelib_StructMember_Init Init struct of members for typelib_typedescription_newStruct().
_typelib_StructTypeDescription Type description for struct types.
_typelib_TypeDescription
_typelib_TypeDescriptionReference Holds a weak reference to a type description.
_typelib_Uik Binary typelib uik struct. Internally not used anymore.
_typelib_UnionTypeDescription Type description of a union. The type class of this description is typelib_TypeClass_UNION.
_typelib_Union_Init Init struct of union types for typelib_typedescription_newUnion().
_uno_Any This is the binary specification of an UNO any.
_uno_Environment The binary specification of an UNO environment.
_uno_ExtEnvironment The binary specification of an UNO environment supporting interface registration.
_uno_Interface The binary C uno interface description.
_uno_Mapping This is the binary specification of a mapping.
s_Anonymous__13
s_Anonymous__17
s_Anonymous__28
s_Anonymous__32 A struct pReserved needs to point to, if implementing a purpose environment. (http://wiki.services.openoffice.org/wiki/Uno/Binary/Spec/Environment_Stack)

Unions

RTConstValueUnion specifies a variable container for field values.
sal_math_Double

Enums

RTMethodMode specifies the mode of a method.
RTParamMode specifies the mode of a parameter.
RTReferenceType specifies the type of a reference used in a service description.
RTTypeClass specifies the typeclass of a binary type blob.
RTTypeSource specifies the type source of a binary type blob.
RTValueType specifies the type of a field value.
RegError specifies the possible error codes which can occur using the registry API.
RegKeyType defines the type of a registry key.
RegValueType defines the type of a key value.
__rtl_CipherAlgorithm
__rtl_CipherDirection
__rtl_CipherError
__rtl_CipherMode
__rtl_DigestAlgorithm
__rtl_DigestError
__rtl_RandomError
__sal_NoAcquire
__store_AccessMode
__store_Error
_typelib_TypeClass This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
e_Anonymous__10
e_Anonymous__11
e_Anonymous__12
e_Anonymous__14
e_Anonymous__15
e_Anonymous__16
e_Anonymous__18 Represents the address-family of a socket
e_Anonymous__19 represent a specific protocol within a address-family
e_Anonymous__20 Represents the type of a socket
e_Anonymous__21 Represents socket-options
e_Anonymous__22 Represents the different socket-option levels
e_Anonymous__23 Represents flags to be used with send/recv-calls.
e_Anonymous__24 Used by shutdown to denote which end of the socket to "close".
e_Anonymous__25 Describes the various error socket error conditions, which may occur
e_Anonymous__26 Common return codes of socket related functions.
e_Anonymous__27
e_Anonymous__29 Various predefined URI 'char classes.'
e_Anonymous__30 The mechanism describing how escape sequences in the input of rtl_uriEncode() are handled.
e_Anonymous__31 The mechanism describing how rtl_uriDecode() translates (part of) a URI into a Unicode string.
e_Anonymous__7
e_Anonymous__8 Main goals and usage hints
e_Anonymous__9
rtl_math_ConversionStatus
rtl_math_DecimalPlaces Special decimal places constants for rtl_math_doubleToString and rtl_math_doubleToUString and rtl_math_doubleToUStringBuffer.
rtl_math_RoundingMode
rtl_math_StringFormat
typereg_Version The version of a binary blob that represents a UNOIDL type.

Typedefs

HANDLE
PVOID
RTFieldAccess specifies the type for the field access.
RegAccessMode defines the open/access mode of the registry.
RegHandle defines the type of a registry handle used in the C API.
RegKeyHandle defines the type of a registry key handle used in the C API.
RegValue defines the type of a registry key value handle used in the C API.
TimeValue
TypeReaderImpl Implememetation handle
TypeWriterImpl Implememetation handle
oslAddrFamily
oslCondition
oslConditionResult
oslDateTime
oslDescriptorFlag
oslDescriptorType
oslDirectory
oslDirectoryItem
oslFileError
oslFileHandle
oslFileStatus
oslFileType
oslHostAddr
oslInterlockedCount
oslModule
oslMutex
oslPipe
oslPipeError
oslPipeOptions
oslProcess Process handle
oslProcessData
oslProcessError
oslProcessExitCode
oslProcessIdentifier
oslProcessInfo
oslProcessOption
oslProfile
oslProfileOption
oslProtocol
oslSecurity Process handle
oslSecurityError
oslSemaphore
oslSignal
oslSignalAction
oslSignalHandler
oslSignalInfo
oslSocket @{ begin section oslSocket
oslSocketAddr Opaque datatype SocketAddr.
oslSocketDirection
oslSocketError
oslSocketMsgFlag
oslSocketOption
oslSocketOptionLevel
oslSocketResult
oslSocketSet Type for the representation of socket sets.
oslSocketType
oslThread Opaque data type for threads. As with all other osl-handles you can initialize and/or test it to/for 0.
oslThreadIdentifier
oslThreadKey
oslThreadPriority
oslVolumeDeviceHandle
oslVolumeInfo
rtlBootstrapHandle
rtlCipher Cipher Handle opaque type.
rtlCipherAlgorithm Cipher Algorithm type.
rtlCipherDirection Cipher Direction type.
rtlCipherError Error Code type.
rtlCipherMode Cipher Mode type.
rtlDigest Digest Handle opaque type.
rtlDigestAlgorithm Digest Algorithm type.
rtlDigestError Error Code type.
rtlRandomError Error Code type.
rtlRandomPool Random Pool opaque type.
rtl_Locale
rtl_ModuleCount
rtl_StandardModuleCount
rtl_String
rtl_TestResult
rtl_TestResult_vtable
rtl_TextEncoding The various supported text encodings.
rtl_TextEncodingInfo
rtl_TextToUnicodeContext see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_TextToUnicodeConverter see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_UnicodeToTextContext see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_UnicodeToTextConverter see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_UriCharClass
rtl_UriDecodeMechanism
rtl_UriEncodeMechanism
rtl_arena_type Opaque rtl_arena_type.
rtl_cache_type Opaque rtl_cache_type.
rtl_cmpstate
rtl_funcstate
rtl_uString
sal_Bool
sal_Char
sal_Handle
sal_Int16
sal_Int32
sal_Int64
sal_Int8
sal_IntPtr
sal_PtrDiff
sal_Sequence
sal_Size
sal_Unicode
sal_sChar
sal_sSize
sal_uChar
sal_uInt16
sal_uInt32
sal_uInt64
sal_uInt8
sal_uIntPtr
storeAccessMode Access Mode type.
storeDirectoryHandle Directory Handle opaque type.
storeError Error Code type.
storeFileHandle File Handle opaque type.
storeFindData Find Data type.
storeHandle Handle opaque type.
storeStreamHandle Stream Handle opaque type.
typelib_ArrayTypeDescription
typelib_CompoundMember_Init
typelib_CompoundTypeDescription
typelib_EnumTypeDescription
typelib_IndirectTypeDescription
typelib_InterfaceAttributeTypeDescription
typelib_InterfaceMemberTypeDescription
typelib_InterfaceMethodTypeDescription
typelib_InterfaceTypeDescription
typelib_MethodParameter
typelib_Parameter_Init
typelib_StructMember_Init
typelib_StructTypeDescription
typelib_TypeClass
typelib_TypeDescription
typelib_TypeDescriptionReference
typelib_Uik
typelib_UnionTypeDescription
typelib_Union_Init
uno_Any
uno_Enterable
uno_Environment
uno_ExtEnvironment Function to release an interface.
uno_Interface
uno_Mapping
uno_Sequence
uno_ThreadPool

Functions

const char *
cppuhelper_detail_findSofficePath( void );
const ::com::sun::star::uno::Type &
getBooleanCppuType( ) throw( );
Gets the meta type of IDL type boolean.
const ::com::sun::star::uno::Type &
getCharCppuType( ) throw( );
Gets the meta type of IDL type char.
const ::com::sun::star::uno::Type &
getCharSequenceCppuType( ) throw( );
Gets the meta type of IDL sequence< char >. This function has been introduced due to ambiguities with unsigned short.
const ::com::sun::star::uno::Type &
getCppuArrayType1( T * pT ) throw( );
Array template function to get meta type for one-dimensional arrays.
const ::com::sun::star::uno::Type &
getCppuArrayType2( T * pT ) throw( );
Array template function to get meta type for two-dimensional arrays.
const ::com::sun::star::uno::Type &
getCppuArrayType3( T * pT ) throw( );
Array template function to get meta type for three-dimensional arrays.
const ::com::sun::star::uno::Type &
getCppuArrayType4( T * pT ) throw( );
Array template function to get meta type for four-dimensional arrays.
const ::com::sun::star::uno::Type &
getCppuArrayType5( T * pT ) throw( );
Array template function to get meta type for five-dimensional arrays.
const ::com::sun::star::uno::Type &
getCppuArrayType6( T * pT ) throw( );
Array template function to get meta type for six-dimensional arrays.
const ::com::sun::star::uno::Type &
getCppuBooleanType( ) throw( );
Gets the meta type of IDL type boolean.
const ::com::sun::star::uno::Type &
getCppuCharType( ) throw( );
Gets the meta type of IDL type char.
const ::com::sun::star::uno::Type &
getCppuSequenceType( const ::com::sun::star::uno::Type & rElementType ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const ::com::sun::star::uno::Sequence< E > * ) throw( );
Gets the meta type of IDL sequence.
const ::com::sun::star::uno::Type &
getCppuType( const ::com::sun::star::uno::Type * ) throw( );
Gets the meta type of IDL type "type".
const ::com::sun::star::uno::Type &
getCppuType( const sal_Bool * ) throw( );
Gets the meta type of IDL type boolean.
const ::com::sun::star::uno::Type &
getCppuType( const bool * ) throw( );
Gets the meta type of IDL type boolean.
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int8 * ) throw( );
Gets the meta type of IDL type byte.
const ::com::sun::star::uno::Type &
getCppuType( const ::rtl::OUString * ) throw( );
Gets the meta type of IDL type string.
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int16 * ) throw( );
Gets the meta type of IDL type short.
const ::com::sun::star::uno::Type &
getCppuType( const sal_uInt16 * ) throw( );
Gets the meta type of IDL type unsigned short.
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int32 * ) throw( );
Gets the meta type of IDL type long.
const ::com::sun::star::uno::Type &
getCppuType( const sal_uInt32 * ) throw( );
Gets the meta type of IDL type unsigned long.
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int64 * ) throw( );
Gets the meta type of IDL type hyper.
const ::com::sun::star::uno::Type &
getCppuType( const sal_uInt64 * ) throw( );
Gets the meta type of IDL type unsigned hyper.
const ::com::sun::star::uno::Type &
getCppuType( const float * ) throw( );
Gets the meta type of IDL type float.
const ::com::sun::star::uno::Type &
getCppuType( const double * ) throw( );
Gets the meta type of IDL type double.
const ::com::sun::star::uno::Type &
getCppuType( ) throw( );
Gets the meta type of an IDL type.
const ::com::sun::star::uno::Type &
getCppuType( const ::com::sun::star::uno::Any * ) throw( );
Gets the meta type of IDL type any.
const ::com::sun::star::uno::Type &
getCppuVoidType( ) throw( );
Gets the meta type of IDL type void.
const ::com::sun::star::uno::Type &
getVoidCppuType( ) throw( );
Gets the meta type of IDL type void.
Registry_Api *
initRegistry_Api( void );
the API initialization function.
oslFileError
osl_abbreviateSystemPath( rtl_uString * ustrSystemPath, rtl_uString * * pustrCompacted, sal_uInt32 uMaxWidth, oslCalcTextWidthFunc pCalcWidth );
Abbreviate a system notation path.
oslSocket
osl_acceptConnectionOnSocket( oslSocket Socket, oslSocketAddr * pAddr );
Waits for an ingoing connection on the socket. This call blocks if there is no incoming connection present.
oslPipe
osl_acceptPipe( oslPipe Pipe );
oslFileError
osl_acquireDirectoryItem( oslDirectoryItem Item );
Increase the refcount of a directory item handle.
sal_Bool
osl_acquireMutex( oslMutex Mutex );
Acquire the mutex, block if already acquired by another thread.
void
osl_acquirePipe( oslPipe Pipe );
increases the refcount of the pipe.
sal_Bool
osl_acquireSemaphore( oslSemaphore Semaphore );
acquire()decreases the count. It will block if it tries to decrease below zero.
void
osl_acquireSocket( oslSocket Socket );
increases the refcount of the socket handle by one
oslFileError
osl_acquireVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
Acquire a volume device handle.
oslSignalHandler
osl_addSignalHandler( oslSignalHandlerFunction Handler, void * pData );
the function-ptr. representing the signal handler-function.
void
osl_addToSocketSet( oslSocketSet Set, oslSocket Socket );
Adds a socket to the set.
sal_Bool
osl_assertFailedLine( const sal_Char * pszFileName, sal_Int32 nLine, const sal_Char * pszMessage );
oslFileError
osl_automountVolumeDevice( oslVolumeDeviceHandle Handle );
Automount a volume device.
sal_Bool
osl_bindAddrToSocket( oslSocket Socket, oslSocketAddr Addr );
Binds the given address to the socket.
void
osl_breakDebug( void );
sal_Bool
osl_checkCondition( oslCondition Condition );
Queries the state of the condition without blocking.
oslProcessError
osl_clearEnvironment( rtl_uString * strVar );
Unsets the value of one enviroment variable.
void
osl_clearSocketSet( oslSocketSet Set );
Clears the set from all previously added sockets.
oslFileError
osl_closeDirectory( oslDirectory Directory );
Release a directory handle.
oslFileError
osl_closeFile( oslFileHandle Handle );
Close an open file.
void
osl_closePipe( oslPipe );
closes the pipe, any read,write or accept actions stop immeadiatly.
sal_Bool
osl_closeProfile( oslProfile Profile );
Deprecated API. Close the opened profile an flush all data to the disk.
void
osl_closeSocket( oslSocket Socket );
Closes the socket terminating any ongoing dataflow.
oslSocketResult
osl_connectSocketTo( oslSocket Socket, oslSocketAddr Addr, const TimeValue * pTimeout );
Connects the socket to the given address.
oslFileError
osl_copyFile( rtl_uString * pustrSourceFileURL, rtl_uString * pustrDestFileURL );
Copy a file to a new destination.
oslHostAddr
osl_copyHostAddr( const oslHostAddr Addr );
Create a copy of the given Addr.
oslSocketAddr
osl_copySocketAddr( oslSocketAddr Addr );
Creates a new SocketAddress and fills it from Addr.
oslCondition
osl_createCondition( void );
oslFileError
osl_createDirectory( rtl_uString * pustrDirectoryURL );
Create a directory.
oslFileError
osl_createDirectoryPath( rtl_uString * aDirectoryUrl, oslDirectoryCreationCallbackFunc aDirectoryCreationCallbackFunc, void * pData );
Create a directory path.
oslSocketAddr
osl_createEmptySocketAddr( oslAddrFamily Family );
Creates a socket-address for the given family.
oslHostAddr
osl_createHostAddr( rtl_uString * strHostname, const oslSocketAddr Addr );
Create an oslHostAddr from given hostname and socket address.
oslHostAddr
osl_createHostAddrByAddr( const oslSocketAddr Addr );
oslHostAddr
osl_createHostAddrByName( rtl_uString * strHostname );
oslSocketAddr
osl_createInetBroadcastAddr( rtl_uString * strDottedAddr, sal_Int32 Port );
oslSocketAddr
osl_createInetSocketAddr( rtl_uString * strDottedAddr, sal_Int32 Port );
oslMutex
osl_createMutex( void );
Create a thread-local mutex.
oslPipe
osl_createPipe( rtl_uString * strPipeName, oslPipeOptions Options, oslSecurity Security );
oslSemaphore
osl_createSemaphore( sal_uInt32 initialCount );
Creates a semaphore.<BR>
oslSocket
osl_createSocket( oslAddrFamily Family, oslSocketType Type, oslProtocol Protocol );
Create a socket of the specified Family and Type. The semantic of the Protocol parameter depends on the given family and type.
oslSocketSet
osl_createSocketSet( void );
Creates a set of sockets to be used with osl_demultiplexSocketEvents().
oslThread
osl_createSuspendedThread( oslWorkerFunction pWorker, void * pThreadData );
oslFileError
osl_createTempFile( rtl_uString * pustrDirectoryURL, oslFileHandle * pHandle, rtl_uString * * ppustrTempFileURL );
Creates a temporary file in the directory provided by the caller or the directory returned by osl_getTempDirURL.
oslThread
osl_createThread( oslWorkerFunction pWorker, void * pThreadData );
oslThreadKey
osl_createThreadKey( oslThreadKeyCallbackFunction pCallback );
Create a key to an associated thread local storage pointer.
oslInterlockedCount
osl_decrementInterlockedCount( oslInterlockedCount * pCount );
Decrement the count variable addressed by pCount.
sal_Int32
osl_demultiplexSocketEvents( oslSocketSet IncomingSet, oslSocketSet OutgoingSet, oslSocketSet OutOfBandSet, const TimeValue * pTimeout );
Checks multiple sockets for events.
void
osl_destroyCondition( oslCondition Condition );
Free the memory used by the condition.
void
osl_destroyHostAddr( oslHostAddr Addr );
Frees all resources allocated by Addr. The handle Addr must not be used after the call anymore.
void
osl_destroyMutex( oslMutex Mutex );
Release the OS-structures and free mutex data-structure.
void
osl_destroySemaphore( oslSemaphore Semaphore );
Release the OS-structures and free semaphore data-structure
void
osl_destroySocketAddr( oslSocketAddr Addr );
Frees all resources allocated by Addr. The handle Addr must not be used after the call anymore.
void
osl_destroySocketSet( oslSocketSet Set );
Destroys a oslSocketSet.
void
osl_destroyThread( oslThread Thread );
void
osl_destroyThreadKey( oslThreadKey Key );
Destroy a key to an associated thread local storage pointer.
sal_Bool
osl_enableNonBlockingMode( oslSocket Socket, sal_Bool On );
Enables/disables non-blocking-mode of the socket.
oslProcessError
osl_executeProcess( rtl_uString * ustrImageName, rtl_uString * ustrArguments, sal_uInt32 nArguments, oslProcessOption Options, oslSecurity Security, rtl_uString * ustrDirectory, rtl_uString * ustrEnvironments, sal_uInt32 nEnvironmentVars, oslProcess * pProcess );
Execute a process.
oslProcessError
osl_executeProcess_WithRedirectedIO( rtl_uString * strImageName, rtl_uString * ustrArguments, sal_uInt32 nArguments, oslProcessOption Options, oslSecurity Security, rtl_uString * ustrDirectory, rtl_uString * ustrEnvironments, sal_uInt32 nEnvironmentVars, oslProcess * pProcess, oslFileHandle * pChildInputWrite, oslFileHandle * pChildOutputRead, oslFileHandle * pChildErrorRead );
Execute a process and redirect child process standard IO.
sal_Bool
osl_flushProfile( oslProfile Profile );
Deprecated API.
void
osl_freeProcessHandle( oslProcess Process );
Free the specified proces-handle.
void
osl_freeSecurityHandle( oslSecurity Security );
Free the security handle, created by osl_loginUser or osl_getCurrentSecurity.
oslFileError
osl_getAbsoluteFileURL( rtl_uString * pustrBaseDirectoryURL, rtl_uString * pustrRelativeFileURL, rtl_uString * * ppustrAbsoluteFileURL );
Convert a path relative to a given directory into an full qualified file URL.
oslSocketResult
osl_getAddrOfSocketAddr( oslSocketAddr Addr, sal_Sequence * * ppByteSeq );
Returns the addr field in the struct sockaddr.
oslGenericFunction
osl_getAsciiFunctionSymbol( oslModule Module, const sal_Char * pSymbol );
Lookup the specified function symbol name.
oslFileError
osl_getCanonicalName( rtl_uString * pustrRequestedURL, rtl_uString * * ppustrValidURL );
Determine a valid unused canonical name for a requested name.
oslProcessError
osl_getCommandArg( sal_uInt32 nArg, rtl_uString * * strCommandArg );
Get the nArg-th command-line argument passed to the main-function of this process.
sal_uInt32
osl_getCommandArgCount( void );
sal_Bool
osl_getConfigDir( oslSecurity Security, rtl_uString * * strDirectory );
Get the directory for configuration data of the user of this security handle.
oslSecurity
osl_getCurrentSecurity( void );
Create a security handle for the current user.
sal_Bool
osl_getDateTimeFromTimeValue( TimeValue * pTimeVal, oslDateTime * pDateTime );
Get the GMT from a TimeValue and fill a struct oslDateTime
oslFileError
osl_getDirectoryItem( rtl_uString * pustrFileURL, oslDirectoryItem * pItem );
Retrieve a single directory item.
oslSocketResult
osl_getDottedInetAddrOfSocketAddr( oslSocketAddr Addr, rtl_uString * * strDottedInetAddr );
Gets the address in dotted decimal format.
oslProcessError
osl_getEnvironment( rtl_uString * strVar, rtl_uString * * strValue );
Get the value of one enviroment variable.
sal_Bool
osl_getEthernetAddress( sal_uInt8 * pEthernetAddr );
oslProcessError
osl_getExecutableFile( rtl_uString * * strFile );
Get the filename of the executable.
oslAddrFamily
osl_getFamilyOfSocketAddr( oslSocketAddr Addr );
Retrieves the address-family from the Addr.
oslFileError
osl_getFilePos( oslFileHandle Handle, sal_uInt64 * pPos );
Retrieve the current position of the internal pointer of an open file.
oslFileError
osl_getFileSize( oslFileHandle Handle, sal_uInt64 * pSize );
Get the file size of an open file.
oslFileError
osl_getFileStatus( oslDirectoryItem Item, oslFileStatus * pStatus, sal_uInt32 uFieldMask );
Retrieve information about a single file or directory.
oslFileError
osl_getFileURLFromSystemPath( rtl_uString * pustrSystemPath, rtl_uString * * ppustrFileURL );
Convert a system dependend path into a file URL.
oslGenericFunction
osl_getFunctionSymbol( oslModule Module, rtl_uString * ustrFunctionSymbolName );
Lookup the specified function symbol name.
oslMutex *
osl_getGlobalMutex( void );
Returns a unique and global mutex.
sal_uInt32
osl_getGlobalTimer( void );
Get the value of the global timer
sal_Bool
osl_getHomeDir( oslSecurity Security, rtl_uString * * strDirectory );
Get the home directory of the user of this security handle.
void
osl_getHostnameOfHostAddr( const oslHostAddr Addr, rtl_uString * * strHostname );
Get the hostname member of Addr.
oslSocketResult
osl_getHostnameOfSocketAddr( oslSocketAddr Addr, rtl_uString * * strHostname );
Returns the hostname represented by Addr.
sal_Int32
osl_getInetPortOfSocketAddr( oslSocketAddr Addr );
Retrieves the internet port-number of Addr.
oslPipeError
osl_getLastPipeError( oslPipe Pipe );
oslSocketError
osl_getLastSocketError( oslSocket Socket );
returns a constant decribing the last error for the socket system.
void
osl_getLastSocketErrorDescription( oslSocket Socket, rtl_uString * * strError );
returns a string which describes the last socket error.
oslSocketAddr
osl_getLocalAddrOfSocket( oslSocket Socket );
oslSocketResult
osl_getLocalHostname( rtl_uString * * strLocalHostname );
Retrieve this machines hostname. May not always be a fully qualified domain name (FQDN).
sal_Bool
osl_getLocalTimeFromSystemTime( TimeValue * pSystemTimeVal, TimeValue * pLocalTimeVal );
Convert GMT to local time
sal_Bool
osl_getModuleHandle( rtl_uString * pModuleName, oslModule * pResult );
Retrieve the handle of an already loaded module.
sal_Bool
osl_getModuleURLFromAddress( void * pv, rtl_uString * * pustrURL );
Lookup URL of module which is mapped at the specified address.
sal_Bool
osl_getModuleURLFromFunctionAddress( oslGenericFunction pf, rtl_uString * * pustrFunctionURL );
Lookup URL of module which is mapped at the specified function address.
oslFileError
osl_getNextDirectoryItem( oslDirectory Directory, oslDirectoryItem * pItem, sal_uInt32 uHint );
Retrieve the next item of a previously opened directory.
oslSocketAddr
osl_getPeerAddrOfSocket( oslSocket Socket );
oslProcess
osl_getProcess( oslProcessIdentifier Ident );
Retrieve the process handle of a process identifier
oslProcessError
osl_getProcessInfo( oslProcess Process, oslProcessData Fields, oslProcessInfo * pInfo );
Retrieves information about a Process
oslProcessError
osl_getProcessLocale( rtl_Locale * * ppLocale );
Get the locale the process is currently running in.
oslProcessError
osl_getProcessWorkingDir( rtl_uString * * pustrWorkingDir );
Get the working directory of the current process as a file URL.
sal_uInt32
osl_getProfileSectionEntries( oslProfile Profile, const sal_Char * pszSection, sal_Char * pszBuffer, sal_uInt32 MaxLen );
Deprecated API. Get all entries belonging to the specified section.
sal_uInt32
osl_getProfileSections( oslProfile Profile, sal_Char * pszBuffer, sal_uInt32 MaxLen );
Deprecated API. Get all section entries
sal_Int32
osl_getServicePort( rtl_uString * strServicename, rtl_uString * strProtocol );
Looks up the port-number designated to the specified service/protocol-pair. (e.g. "ftp" "tcp").
oslSocketAddr
osl_getSocketAddrOfHostAddr( const oslHostAddr Addr );
Get the socket address member of Addr.
sal_Int32
osl_getSocketOption( oslSocket Socket, oslSocketOptionLevel Level, oslSocketOption Option, void * pBuffer, sal_uInt32 BufferLen );
Retrieves attributes associated with the socket.
oslSocketType
osl_getSocketType( oslSocket Socket );
Queries the socket for its type.
void *
osl_getSymbol( oslModule Module, rtl_uString * strSymbolName );
lookup the specified symbol name.
oslFileError
osl_getSystemPathFromFileURL( rtl_uString * pustrFileURL, rtl_uString * * ppustrSystemPath );
Convert a file URL into a system dependend path.
sal_Bool
osl_getSystemTime( TimeValue * pTimeVal );
Get the current system time as TimeValue.
sal_Bool
osl_getSystemTimeFromLocalTime( TimeValue * pLocalTimeVal, TimeValue * pSystemTimeVal );
Convert local time to GMT
oslFileError
osl_getTempDirURL( rtl_uString * * pustrTempDirURL );
Retrieves the file URL of the system's temporary directory path
rtl_TextEncoding
osl_getTextEncodingFromLocale( rtl_Locale * pLocale );
Determines the text encoding used by the underlying platform for the specified locale.
oslThreadIdentifier
osl_getThreadIdentifier( oslThread Thread );
Get the identifier for the specified thread or if parameter Thread is NULL of the current active thread.
void *
osl_getThreadKeyData( oslThreadKey Key );
Get to key associated thread specific data.
oslThreadPriority
osl_getThreadPriority( const oslThread Thread );
rtl_TextEncoding
osl_getThreadTextEncoding( void );
Get the current thread local text encoding.
sal_Bool
osl_getTimeValueFromDateTime( oslDateTime * pDateTime, TimeValue * pTimeVal );
Get the GMT from a oslDateTime and fill a TimeValue
sal_Bool
osl_getUserIdent( oslSecurity Security, rtl_uString * * strIdent );
Get the login ident for the user of this security handle.
sal_Bool
osl_getUserName( oslSecurity Security, rtl_uString * * strName );
Get the login name for the user of this security handle.
oslFileError
osl_getVolumeDeviceMountPath( oslVolumeDeviceHandle Handle, rtl_uString * * ppustrDirectoryURL );
Get the full qualified URL where a device is mounted to.
oslFileError
osl_getVolumeInformation( rtl_uString * pustrDirectoryURL, oslVolumeInfo * pInfo, sal_uInt32 uFieldMask );
Retrieve information about a volume.
oslInterlockedCount
osl_incrementInterlockedCount( oslInterlockedCount * pCount );
Increments the count variable addressed by pCount.
sal_Bool
osl_isAdministrator( oslSecurity Security );
Query if the user who is denotes by this security has administrator rigths.
oslFileError
osl_isEndOfFile( oslFileHandle Handle, sal_Bool * pIsEOF );
Test if the end of a file is reached.
sal_Bool
osl_isEqualSocketAddr( oslSocketAddr Addr1, oslSocketAddr Addr2 );
Compares the values of two SocketAddresses.
sal_Bool
osl_isExceptionPending( oslSocket Socket, const TimeValue * pTimeout );
sal_Bool
osl_isInSocketSet( oslSocketSet Set, oslSocket Socket );
Checks if socket is in the set.
sal_Bool
osl_isNonBlockingMode( oslSocket Socket );
Query state of non-blocking-mode of the socket.
sal_Bool
osl_isReceiveReady( oslSocket Socket, const TimeValue * pTimeout );
Checks if read operations will block.
sal_Bool
osl_isSendReady( oslSocket Socket, const TimeValue * pTimeout );
sal_Bool
osl_isThreadRunning( const oslThread Thread );
oslProcessError
osl_joinProcess( oslProcess Process );
Wait for completation of the specified childprocess.
oslProcessError
osl_joinProcessWithTimeout( oslProcess Process, const TimeValue * pTimeout );
Wait with a timeout for the completion of the specified child process.
void
osl_joinWithThread( oslThread Thread );
Blocks the calling thread until Thread has terminated. Returns immediately if Thread is NULL.
sal_Bool
osl_listenOnSocket( oslSocket Socket, sal_Int32 MaxPendingConnections );
Prepares the socket to act as an acceptor of incoming connections. You should call "listen" before you use "accept".
oslModule
osl_loadModule( rtl_uString * strModuleName, sal_Int32 nRtldMode );
Load a shared library or module.
oslModule
osl_loadModuleRelative( oslGenericFunction baseModule, rtl_uString * relativePath, sal_Int32 mode );
Load a module located relative to some other module.
sal_Bool
osl_loadUserProfile( oslSecurity Security );
Load Profile of the User Implemented just for Windows
oslSecurityError
osl_loginUser( rtl_uString * strUserName, rtl_uString * strPasswd, oslSecurity * pSecurity );
Create a security handle for the denoted user. Try to log in the user on the local system.
oslSecurityError
osl_loginUserOnFileServer( rtl_uString * strUserName, rtl_uString * strPasswd, rtl_uString * strFileServer, oslSecurity * pSecurity );
oslFileError
osl_mapFile( oslFileHandle Handle, void * * ppAddr, sal_uInt64 uLength, sal_uInt64 uOffset, sal_uInt32 uFlags );
Map a shared file into memory.
oslFileError
osl_moveFile( rtl_uString * pustrSourceFileURL, rtl_uString * pustrDestFileURL );
Move a file or directory to a new destination or renames it.
oslFileError
osl_openDirectory( rtl_uString * pustrDirectoryURL, oslDirectory * pDirectory );
Open a directory for enumerating its contents.
oslFileError
osl_openFile( rtl_uString * pustrFileURL, oslFileHandle * pHandle, sal_uInt32 uFlags );
Open a regular file.
oslProfile
osl_openProfile( rtl_uString * strProfileName, oslProfileOption Options );
Deprecated API. Open or create a configuration profile.
oslSignalAction
osl_raiseSignal( sal_Int32 UserSignal, void * UserData );
oslFileError
osl_readFile( oslFileHandle Handle, void * pBuffer, sal_uInt64 uBytesRequested, sal_uInt64 * pBytesRead );
Read a number of bytes from a file.
oslFileError
osl_readFileAt( oslFileHandle Handle, sal_uInt64 uOffset, void * pBuffer, sal_uInt64 uBytesRequested, sal_uInt64 * pBytesRead );
Read a number of bytes from a specified offset in a file.
oslFileError
osl_readLine( oslFileHandle Handle, sal_Sequence * * ppSequence );
Read a line from a file.
sal_Int32
osl_readPipe( oslPipe Pipe, void * pBuffer, sal_Int32 BufferSize );
Reads blocking from the pipe.
sal_Bool
osl_readProfileBool( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_Bool Default );
Deprecated API.
sal_uInt32
osl_readProfileIdent( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_uInt32 FirstId, const sal_Char * Strings, sal_uInt32 Default );
Deprecated API.
sal_Bool
osl_readProfileString( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_Char * pszString, sal_uInt32 MaxLen, const sal_Char * pszDefault );
Deprecated API.
sal_Int32
osl_readSocket( oslSocket Socket, void * pBuffer, sal_Int32 nSize );
Retrieves n bytes from the stream and copies them into pBuffer. The function avoids incomplete reads due to packet boundaries.
sal_Int32
osl_receiveFromSocket( oslSocket Socket, oslSocketAddr SenderAddr, void * pBuffer, sal_uInt32 BufferSize, oslSocketMsgFlag Flag );
Tries to receives BufferSize data from the (usually unconnected) (datagram-)socket, if no error occurs.
sal_Int32
osl_receivePipe( oslPipe Pipe, void * pBuffer, sal_Int32 BufferSize );
oslSocket
osl_receiveResourcePipe( oslPipe Pipe );
sal_Int32
osl_receiveSocket( oslSocket Socket, void * pBuffer, sal_uInt32 BytesToRead, oslSocketMsgFlag Flag );
oslFileError
osl_releaseDirectoryItem( oslDirectoryItem Item );
Decrease the refcount of a directory item handle.
sal_Bool
osl_releaseMutex( oslMutex Mutex );
Release the mutex.
void
osl_releasePipe( oslPipe );
decreases the refcount of the pipe. If the refcount drops to zero, the handle is destroyed.
sal_Bool
osl_releaseSemaphore( oslSemaphore Semaphore );
release()increases the count.
void
osl_releaseSocket( oslSocket Socket );
decreases the refcount of the socket handle by one.
oslFileError
osl_releaseVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
Release a volume device handle.
oslFileError
osl_removeDirectory( rtl_uString * pustrDirectoryURL );
Remove an empty directory.
oslFileError
osl_removeFile( rtl_uString * pustrFileURL );
Remove a regular file.
void
osl_removeFromSocketSet( oslSocketSet Set, oslSocket Socket );
Removes a socket from the set.
sal_Bool
osl_removeProfileEntry( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry );
Deprecated API. Acquire the mutex, block if already acquired by another thread.
sal_Bool
osl_removeSignalHandler( oslSignalHandler hHandler );
sal_Int32
osl_reportError( sal_uInt32 nType, const sal_Char * pszErrorMessage );
sal_Bool
osl_resetCondition( oslCondition Condition );
Sets condition to False => wait() will block, check() returns False
oslSocketAddr
osl_resolveHostname( rtl_uString * strHostname );
Uses the systems name-service interface to find an address for strHostname.
void
osl_resumeThread( oslThread Thread );
Wake-up a thread that was suspended with suspend() or createSuspended(). The oslThread must be valid!
sal_Bool
osl_scheduleThread( oslThread Thread );
oslFileError
osl_searchFileURL( rtl_uString * pustrFileName, rtl_uString * pustrSearchPath, rtl_uString * * ppustrFileURL );
Searche a full qualified system path or a file URL.
sal_Int32
osl_sendPipe( oslPipe Pipe, const void * pBuffer, sal_Int32 BufferSize );
sal_Bool
osl_sendResourcePipe( oslPipe Pipe, oslSocket Socket );
sal_Int32
osl_sendSocket( oslSocket Socket, const void * pBuffer, sal_uInt32 BytesToSend, oslSocketMsgFlag Flag );
Tries to send BytesToSend data from the connected socket, if no error occurs.
sal_Int32
osl_sendToSocket( oslSocket Socket, oslSocketAddr ReceiverAddr, const void * pBuffer, sal_uInt32 BytesToSend, oslSocketMsgFlag Flag );
oslSocketResult
osl_setAddrOfSocketAddr( oslSocketAddr Addr, sal_Sequence * pByteSeq );
Sets the addr field in the struct sockaddr with pByteSeq. pByteSeq must be in network byte order.
void
osl_setCommandArgs( int argc, char * * argv );
Set the command-line arguments as passed to the main-function of this process.
sal_Bool
osl_setCondition( oslCondition Condition );
Sets condition to True => wait() will not block, check() returns True. NOTE: ALL threads waiting on this condition are unblocked!
pfunc_osl_printDebugMessage
osl_setDebugMessageFunc( pfunc_osl_printDebugMessage pNewFunc );
sets a message delivery function
pfunc_osl_printDetailedDebugMessage
osl_setDetailedDebugMessageFunc( pfunc_osl_printDetailedDebugMessage pNewFunc );
sets a delivery function for detailed message information.
oslProcessError
osl_setEnvironment( rtl_uString * strVar, rtl_uString * strValue );
Set the value of one enviroment variable.
sal_Bool
osl_setErrorReporting( sal_Bool bEnable );
Enables or disables error reporting
oslFileError
osl_setFileAttributes( rtl_uString * pustrFileURL, sal_uInt64 uAttributes );
Set file attributes.
oslFileError
osl_setFilePos( oslFileHandle Handle, sal_uInt32 uHow, sal_Int64 uPos );
Set the internal position pointer of an open file.
oslFileError
osl_setFileSize( oslFileHandle Handle, sal_uInt64 uSize );
Set the file size of an open file.
oslFileError
osl_setFileTime( rtl_uString * pustrFileURL, const TimeValue * aCreationTime, const TimeValue * aLastAccessTime, const TimeValue * aLastWriteTime );
Set the file time.
sal_Bool
osl_setInetPortOfSocketAddr( oslSocketAddr Addr, sal_Int32 Port );
Sets the Port of Addr.
oslProcessError
osl_setProcessLocale( rtl_Locale * pLocale );
Change the locale of the process.
sal_Bool
osl_setSocketOption( oslSocket Socket, oslSocketOptionLevel Level, oslSocketOption Option, void * pBuffer, sal_uInt32 BufferLen );
Sets the sockets attributes.
sal_Bool
osl_setThreadKeyData( oslThreadKey Key, void * pData );
Set to key associated thread specific data.
void
osl_setThreadName( const char * name );
Attempts to set the name of the current thread.
void
osl_setThreadPriority( oslThread Thread, oslThreadPriority Priority );
Changes the threads priority. The oslThread must be valid!
rtl_TextEncoding
osl_setThreadTextEncoding( rtl_TextEncoding Encoding );
Set the thread local text encoding.
sal_Bool
osl_shutdownSocket( oslSocket Socket, oslSocketDirection Direction );
Shuts down communication on a connected socket.
void
osl_suspendThread( oslThread Thread );
Suspend the execution of the thread. If you want the thread to continue, call resume(). The oslThread must be valid!
oslFileError
osl_syncFile( oslFileHandle Handle );
Synchronize the memory representation of a file with that on the physical medium.
oslProcessError
osl_terminateProcess( oslProcess Process );
Terminate a process
void
osl_terminateThread( oslThread Thread );
The requested thread will get terminate the next time scheduleThread() is called.
void
osl_trace( const sal_Char * pszFormat, ... );
sal_Bool
osl_tryToAcquireMutex( oslMutex Mutex );
Try to acquire the mutex without blocking.
sal_Bool
osl_tryToAcquireSemaphore( oslSemaphore Semaphore );
void
osl_unloadModule( oslModule Module );
Release the module
void
osl_unloadUserProfile( oslSecurity Security );
Unload a User Profile Implemented just for Windows
oslFileError
osl_unmapFile( void * pAddr, sal_uInt64 uLength );
Unmap a shared file from memory.
oslFileError
osl_unmountVolumeDevice( oslVolumeDeviceHandle Handle );
Unmount a volume device.
oslConditionResult
osl_waitCondition( oslCondition Condition, const TimeValue * pTimeout );
void
osl_waitThread( const TimeValue * pDelay );
Blocks the calling thread at least for the given number of time.
oslFileError
osl_writeFile( oslFileHandle Handle, const void * pBuffer, sal_uInt64 uBytesToWrite, sal_uInt64 * pBytesWritten );
Write a number of bytes to a file.
oslFileError
osl_writeFileAt( oslFileHandle Handle, sal_uInt64 uOffset, const void * pBuffer, sal_uInt64 uBytesToWrite, sal_uInt64 * pBytesWritten );
Write a number of bytes to a specified offset in a file.
sal_Int32
osl_writePipe( oslPipe Pipe, const void * pBuffer, sal_Int32 BufferSize );
Writes blocking onto the pipe.
sal_Bool
osl_writeProfileBool( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_Bool Value );
Deprecated API.
sal_Bool
osl_writeProfileIdent( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_uInt32 FirstId, const sal_Char * Strings, sal_uInt32 Value );
Deprecated API.
sal_Bool
osl_writeProfileString( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, const sal_Char * pszString );
Deprecated API.
sal_Int32
osl_writeSocket( oslSocket Socket, const void * pBuffer, sal_Int32 nSize );
Writes n bytes from pBuffer to the stream. The method avoids incomplete writes due to packet boundaries.
void
osl_yieldThread( void );
RegError
reg_closeKey( RegKeyHandle hKey );
This function closes the specified key.
RegError
reg_closeRegistry( RegHandle hRegistry );
This function closes a registry.
RegError
reg_closeSubKeys( RegKeyHandle * phSubKeys, sal_uInt32 nSubKeys );
This function closes all subkeys specified in the array.
RegError
reg_createKey( RegKeyHandle hKey, rtl_uString * keyName, RegKeyHandle * phNewKey );
This function creates the specified key.
RegError
reg_createLink( RegKeyHandle hKey, rtl_uString * linkName, rtl_uString * linkTarget );
This function used to create a link.
RegError
reg_createRegistry( rtl_uString * registryName, RegHandle * phRegistry );
This function creates a new registry with the specified name and creates a root key.
RegError
reg_deleteKey( RegKeyHandle hKey, rtl_uString * keyName );
This function deletes the specified key.
RegError
reg_deleteLink( RegKeyHandle hKey, rtl_uString * linkName );
This function used to delete a link.
RegError
reg_destroyRegistry( RegHandle hRegistry, rtl_uString * registryName );
This function destroys a registry.
RegError
reg_dumpRegistry( RegKeyHandle hKey );
This function reports the complete registry information of a key and all of its subkeys.
RegError
reg_freeValueList( RegValueType valueType, RegValue pValueList, sal_uInt32 len );
This function frees the memory of a value list.
RegError
reg_getKeyName( RegKeyHandle hKey, rtl_uString * * pKeyName );
This function returns the name of a key.
RegError
reg_getKeyType( RegKeyHandle hKey, rtl_uString * keyName, RegKeyType * pKeyType );
This function returns the type of a key.
RegError
reg_getLinkTarget( RegKeyHandle hKey, rtl_uString * linkName, rtl_uString * * pLinkTarget );
This function used to return the linktarget of a link.
RegError
reg_getLongListValue( RegKeyHandle hKey, rtl_uString * keyName, sal_Int32 * * pValueList, sal_uInt32 * pLen );
This function gets the long list value of a key.
RegError
reg_getName( RegHandle hRegistry, rtl_uString * * pName );
This function returns the name of a registry.
RegError
reg_getResolvedKeyName( RegKeyHandle hKey, rtl_uString * keyName, sal_Bool firstLinkOnly, rtl_uString * * pResolvedName );
This function resolves a keyname.
RegError
reg_getStringListValue( RegKeyHandle hKey, rtl_uString * keyName, sal_Char * * * pValueList, sal_uInt32 * pLen );
This function gets the string list value of a key.
RegError
reg_getUnicodeListValue( RegKeyHandle hKey, rtl_uString * keyName, sal_Unicode * * * pValueList, sal_uInt32 * pLen );
This function gets the unicode list value of a key.
RegError
reg_getValue( RegKeyHandle hKey, rtl_uString * keyName, RegValue pData );
This function gets the value of a key.
RegError
reg_getValueInfo( RegKeyHandle hKey, rtl_uString * keyName, RegValueType * pValueType, sal_uInt32 * pValueSize );
This function gets info about type and size of a key value.
sal_Bool
reg_isReadOnly( RegHandle hReg );
This function returns the access mode of the registry.
RegError
reg_loadKey( RegKeyHandle hKey, rtl_uString * keyName, rtl_uString * regFileName );
This function loads registry information from a file and save it under the specified keyName.
RegError
reg_mergeKey( RegKeyHandle hKey, rtl_uString * keyName, rtl_uString * regFileName, sal_Bool bWarnings, sal_Bool bReport );
This function merges the registry information from a specified source with the information of the currently open registry.
RegError
reg_openKey( RegKeyHandle hKey, rtl_uString * keyName, RegKeyHandle * phOpenKey );
This function opens the specified key.
RegError
reg_openRegistry( rtl_uString * registryName, RegHandle * phRegistry, RegAccessMode accessMode );
This function opens a registry with the specified name.
RegError
reg_openRootKey( RegHandle hRegistry, RegKeyHandle * phRootKey );
This function opens the root key of a registry.
RegError
reg_openSubKeys( RegKeyHandle hKey, rtl_uString * keyName, RegKeyHandle * * pphSubKeys, sal_uInt32 * pnSubKeys );
This function opens all subkeys of the specified key.
RegError
reg_saveKey( RegKeyHandle hKey, rtl_uString * keyName, rtl_uString * regFileName );
This function saves the registry information under a specified key and all of its subkeys and save it in a registry file.
RegError
reg_setLongListValue( RegKeyHandle hKey, rtl_uString * keyName, sal_Int32 * pValueList, sal_uInt32 len );
This function sets an long list value of a key.
RegError
reg_setStringListValue( RegKeyHandle hKey, rtl_uString * keyName, sal_Char * * pValueList, sal_uInt32 len );
This function sets an ascii list value of a key.
RegError
reg_setUnicodeListValue( RegKeyHandle hKey, rtl_uString * keyName, sal_Unicode * * pValueList, sal_uInt32 len );
This function sets an unicode string list value of a key.
RegError
reg_setValue( RegKeyHandle hKey, rtl_uString * keyName, RegValueType valueType, RegValue pData, sal_uInt32 valueSize );
This function sets a value of a key.
sal_Int32
rtl_addUnloadingListener( rtl_unloadingListenerFunc callback, void * _this );
void *
rtl_allocateMemory( sal_Size Bytes );
Allocate memory.
void *
rtl_allocateZeroMemory( sal_Size Bytes );
Allocate and zero memory.
void *
rtl_arena_alloc( rtl_arena_type * pArena, sal_Size * pBytes );
rtl_arena_alloc() * *
void
rtl_arena_destroy( rtl_arena_type * pArena );
rtl_arena_destroy() * *
void
rtl_arena_free( rtl_arena_type * pArena, void * pAddr, sal_Size nBytes );
rtl_arena_free() * *
void
rtl_bootstrap_args_close( rtlBootstrapHandle handle );
Closes a boostrap agument container.
rtlBootstrapHandle
rtl_bootstrap_args_open( rtl_uString * pIniName );
Opens a bootstrap argument container.
void
rtl_bootstrap_encode( const rtl_uString * value, rtl_uString * * encoded );
Escapes special characters ("$" and "\").
void
rtl_bootstrap_expandMacros( rtl_uString * * macro );
Expands a macro using default bootstrap variables.
void
rtl_bootstrap_expandMacros_from_handle( rtlBootstrapHandle handle, rtl_uString * * macro );
Expands a macro using bootstrap variables.
sal_Bool
rtl_bootstrap_get( rtl_uString * pName, rtl_uString * * ppValue, rtl_uString * pDefault );
sal_Bool
rtl_bootstrap_get_from_handle( rtlBootstrapHandle handle, rtl_uString * pName, rtl_uString * * ppValue, rtl_uString * pDefault );
void
rtl_bootstrap_get_iniName_from_handle( rtlBootstrapHandle handle, rtl_uString * * ppIniName );
Returns the name of the inifile associated with this handle.
void
rtl_bootstrap_set( rtl_uString * pName, rtl_uString * pValue );
Sets a bootstrap parameter.
void
rtl_bootstrap_setIniFileName( rtl_uString * pName );
may be called by an application to set an ini-filename.
void
rtl_byte_sequence_acquire( sal_Sequence * pSequence );
Acquires the byte sequence
void
rtl_byte_sequence_assign( sal_Sequence * * ppSequence, sal_Sequence * pSequence );
Assigns the byte sequence pSequence to *ppSequence.
void
rtl_byte_sequence_construct( sal_Sequence * * ppSequence, sal_Int32 nLength );
Constructs a bytes sequence with length nLength. All bytes are set to zero.
void
rtl_byte_sequence_constructFromArray( sal_Sequence * * ppSequence, const sal_Int8 * pData, sal_Int32 nLength );
Constructs a byte sequence with length nLength and copies nLength bytes from pData.
void
rtl_byte_sequence_constructNoDefault( sal_Sequence * * ppSequence, sal_Int32 nLength );
Constructs a bytes sequence with length nLength. The data is not initialized.
sal_Bool
rtl_byte_sequence_equals( sal_Sequence * pSequence1, sal_Sequence * pSequence2 );
Compares two byte sequences.
const sal_Int8 *
rtl_byte_sequence_getConstArray( sal_Sequence * pSequence );
Returns the data array pointer of the sequence.
sal_Int32
rtl_byte_sequence_getLength( sal_Sequence * pSequence );
Returns the length of the sequence
void
rtl_byte_sequence_realloc( sal_Sequence * * ppSequence, sal_Int32 nSize );
Reallocates length of byte sequence.
void
rtl_byte_sequence_reference2One( sal_Sequence * * ppSequence );
Assures that the reference count of the given byte sequence is one. Otherwise a new copy of the sequence is created with a reference count of one.
void
rtl_byte_sequence_release( sal_Sequence * pSequence );
Releases the byte sequence. If the refcount drops to zero, the sequence is freed.
void *
rtl_cache_alloc( rtl_cache_type * pCache );
rtl_cache_alloc() * *
void
rtl_cache_destroy( rtl_cache_type * pCache );
rtl_cache_destroy() * *
void
rtl_cache_free( rtl_cache_type * pCache, void * pObj );
rtl_cache_free() * *
rtlCipher
rtl_cipher_create( rtlCipherAlgorithm Algorithm, rtlCipherMode Mode );
Create a cipher handle for the given algorithm and mode.
rtlCipher
rtl_cipher_createARCFOUR( rtlCipherMode Mode );
Create a RC4 cipher handle for the given mode.
rtlCipher
rtl_cipher_createBF( rtlCipherMode Mode );
Create a Blowfish cipher handle for the given mode.
rtlCipherError
rtl_cipher_decode( rtlCipher Cipher, const void * pData, sal_Size nDatLen, sal_uInt8 * pBuffer, sal_Size nBufLen );
Decode a buffer under a given cipher algorithm.
rtlCipherError
rtl_cipher_decodeARCFOUR( rtlCipher Cipher, const void * pData, sal_Size nDatLen, sal_uInt8 * pBuffer, sal_Size nBufLen );
Decode a buffer under the RC4 cipher algorithm.
rtlCipherError
rtl_cipher_decodeBF( rtlCipher Cipher, const void * pData, sal_Size nDatLen, sal_uInt8 * pBuffer, sal_Size nBufLen );
Decode a buffer under the Blowfish cipher algorithm.
void
rtl_cipher_destroy( rtlCipher Cipher );
Destroy a cipher handle.
void
rtl_cipher_destroyARCFOUR( rtlCipher Cipher );
Destroy a RC4 cipher handle.
void
rtl_cipher_destroyBF( rtlCipher Cipher );
Destroy a Blowfish cipher handle.
rtlCipherError
rtl_cipher_encode( rtlCipher Cipher, const void * pData, sal_Size nDatLen, sal_uInt8 * pBuffer, sal_Size nBufLen );
Encode a buffer under a given cipher algorithm.
rtlCipherError
rtl_cipher_encodeARCFOUR( rtlCipher Cipher, const void * pData, sal_Size nDatLen, sal_uInt8 * pBuffer, sal_Size nBufLen );
Encode a buffer under the RC4 cipher algorithm.
rtlCipherError
rtl_cipher_encodeBF( rtlCipher Cipher, const void * pData, sal_Size nDatLen, sal_uInt8 * pBuffer, sal_Size nBufLen );
Encode a buffer under the Blowfish cipher algorithm.
rtlCipherError
rtl_cipher_init( rtlCipher Cipher, rtlCipherDirection Direction, const sal_uInt8 * pKeyData, sal_Size nKeyLen, const sal_uInt8 * pArgData, sal_Size nArgLen );
Inititialize a cipher for the given direction.
rtlCipherError
rtl_cipher_initARCFOUR( rtlCipher Cipher, rtlCipherDirection Direction, const sal_uInt8 * pKeyData, sal_Size nKeyLen, const sal_uInt8 * pArgData, sal_Size nArgLen );
Inititialize a RC4 cipher for the given direction.
rtlCipherError
rtl_cipher_initBF( rtlCipher Cipher, rtlCipherDirection Direction, const sal_uInt8 * pKeyData, sal_Size nKeyLen, const sal_uInt8 * pArgData, sal_Size nArgLen );
Inititialize a Blowfish cipher for the given direction.
sal_Int32
rtl_compareMemory( const void * MemA, const void * MemB, sal_Size Bytes );
sal_Int32
rtl_compareUuid( const sal_uInt8 * pUUID1, const sal_uInt8 * pUUID2 );
Compare two UUID's lexically
sal_Bool
rtl_convertStringToUString( rtl_uString * * target, const char * source, sal_Int32 length, rtl_TextEncoding encoding, sal_uInt32 flags );
Converts a byte string to a Unicode string, signalling failure.
sal_Size
rtl_convertTextToUnicode( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext, const sal_Char * pSrcBuf, sal_Size nSrcBytes, sal_Unicode * pDestBuf, sal_Size nDestChars, sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
sal_Bool
rtl_convertUStringToString( rtl_String * * pTarget, const sal_Unicode * pSource, sal_Int32 nLength, rtl_TextEncoding nEncoding, sal_uInt32 nFlags );
Converts a Unicode string to a byte string, signalling failure.
sal_Size
rtl_convertUnicodeToText( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext, const sal_Unicode * pSrcBuf, sal_Size nSrcChars, sal_Char * pDestBuf, sal_Size nDestBytes, sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtChars );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
void
rtl_copyMemory( void * Dst, const void * Src, sal_Size Bytes );
sal_uInt32
rtl_crc32( sal_uInt32 Crc, const void * Data, sal_uInt32 DatLen );
Evaluate CRC32 over given data.
void
rtl_createNamedUuid( sal_uInt8 * pTargetUUID, const sal_uInt8 * pNameSpaceUUID, const rtl_String * pName );
Creates named UUIDs.
rtl_TextToUnicodeContext
rtl_createTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_TextToUnicodeConverter
rtl_createTextToUnicodeConverter( rtl_TextEncoding eTextEncoding );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_UnicodeToTextContext
rtl_createUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtl_UnicodeToTextConverter
rtl_createUnicodeToTextConverter( rtl_TextEncoding eTextEncoding );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
void
rtl_createUuid( sal_uInt8 * pTargetUUID, const sal_uInt8 * pPredecessorUUID, sal_Bool bUseEthernetAddress );
Generates a new Version 4 (random number based) UUID (Universally Unique IDentifier).
void
rtl_destroyTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
void
rtl_destroyTextToUnicodeConverter( rtl_TextToUnicodeConverter hConverter );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
void
rtl_destroyUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
void
rtl_destroyUnicodeToTextConverter( rtl_UnicodeToTextConverter hConverter );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
rtlDigestError
rtl_digest_HMAC_MD5( const sal_uInt8 * pKeyData, sal_uInt32 nKeyLen, const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Evaluate a HMAC_MD5 digest value from given data.
rtlDigestError
rtl_digest_HMAC_SHA1( const sal_uInt8 * pKeyData, sal_uInt32 nKeyLen, const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Evaluate a HMAC_SHA1 digest value from given data.
rtlDigestError
rtl_digest_MD2( const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Evaluate a MD2 digest value from given data.
rtlDigestError
rtl_digest_MD5( const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Evaluate a MD5 digest value from given data.
rtlDigestError
rtl_digest_PBKDF2( sal_uInt8 * pKeyData, sal_uInt32 nKeyLen, const sal_uInt8 * pPassData, sal_uInt32 nPassLen, const sal_uInt8 * pSaltData, sal_uInt32 nSaltLen, sal_uInt32 nCount );
Password-Based Key Derivation Function.
rtlDigestError
rtl_digest_SHA( const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Evaluate a SHA digest value from given data.
rtlDigestError
rtl_digest_SHA1( const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Evaluate a SHA1 digest value from given data.
rtlDigest
rtl_digest_create( rtlDigestAlgorithm Algorithm );
Create a digest handle for the given algorithm.
rtlDigest
rtl_digest_createHMAC_MD5( void );
Create a HMAC_MD5 digest handle.
rtlDigest
rtl_digest_createHMAC_SHA1( void );
Create a HMAC_SHA1 digest handle.
rtlDigest
rtl_digest_createMD2( void );
Create a MD2 digest handle.
rtlDigest
rtl_digest_createMD5( void );
Create a MD5 digest handle.
rtlDigest
rtl_digest_createSHA( void );
Create a SHA digest handle.
rtlDigest
rtl_digest_createSHA1( void );
Create a SHA1 digest handle.
void
rtl_digest_destroy( rtlDigest Digest );
Destroy a digest handle.
void
rtl_digest_destroyHMAC_MD5( rtlDigest Digest );
Destroy a HMAC_MD5 digest handle.
void
rtl_digest_destroyHMAC_SHA1( rtlDigest Digest );
Destroy a HMAC_SHA1 digest handle.
void
rtl_digest_destroyMD2( rtlDigest Digest );
Destroy a MD2 digest handle.
void
rtl_digest_destroyMD5( rtlDigest Digest );
Destroy a MD5 digest handle.
void
rtl_digest_destroySHA( rtlDigest Digest );
Destroy a SHA digest handle.
void
rtl_digest_destroySHA1( rtlDigest Digest );
Destroy a SHA1 digest handle.
rtlDigestError
rtl_digest_get( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a digest and retrieve the digest value.
rtlDigestError
rtl_digest_getHMAC_MD5( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a HMAC_MD5 digest and retrieve the digest value.
rtlDigestError
rtl_digest_getHMAC_SHA1( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a HMAC_SHA1 digest and retrieve the digest value.
rtlDigestError
rtl_digest_getMD2( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a MD2 digest and retrieve the digest value.
rtlDigestError
rtl_digest_getMD5( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a MD5 digest and retrieve the digest value.
rtlDigestError
rtl_digest_getSHA( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a SHA digest and retrieve the digest value.
rtlDigestError
rtl_digest_getSHA1( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Finalize a SHA1 digest and retrieve the digest value.
rtlDigestError
rtl_digest_init( rtlDigest Digest, const sal_uInt8 * pData, sal_uInt32 nDatLen );
Initialize a digest with given data.
rtlDigestError
rtl_digest_initHMAC_MD5( rtlDigest Digest, const sal_uInt8 * pKeyData, sal_uInt32 nKeyLen );
Initialize a HMAC_MD5 digest.
rtlDigestError
rtl_digest_initHMAC_SHA1( rtlDigest Digest, const sal_uInt8 * pKeyData, sal_uInt32 nKeyLen );
Initialize a HMAC_SHA1 digest.
rtlDigestAlgorithm
rtl_digest_queryAlgorithm( rtlDigest Digest );
Query the algorithm of a given digest.
sal_uInt32
rtl_digest_queryLength( rtlDigest Digest );
Query the length of a given digest.
rtlDigestError
rtl_digest_rawMD5( rtlDigest Digest, sal_uInt8 * pBuffer, sal_uInt32 nBufLen );
Retrieve the raw (not finalized) MD5 digest value.
rtlDigestError
rtl_digest_update( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a digest with given data.
rtlDigestError
rtl_digest_updateHMAC_MD5( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a HMAC_MD5 digest with given data.
rtlDigestError
rtl_digest_updateHMAC_SHA1( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a HMAC_SHA1 digest with given data.
rtlDigestError
rtl_digest_updateMD2( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a MD2 digest with given data.
rtlDigestError
rtl_digest_updateMD5( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a MD5 digest with given data.
rtlDigestError
rtl_digest_updateSHA( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a SHA digest with given data.
rtlDigestError
rtl_digest_updateSHA1( rtlDigest Digest, const void * pData, sal_uInt32 nDatLen );
Update a SHA1 digest with given data.
void
rtl_fillMemory( void * Ptr, sal_Size Bytes, sal_uInt8 Fill );
void *
rtl_findInMemory( const void * MemA, sal_uInt8 ch, sal_Size Bytes );
void
rtl_freeMemory( void * Ptr );
Free memory.
void
rtl_freeZeroMemory( void * Ptr, sal_Size Bytes );
Zero and free memory.
oslProcessError
rtl_getAppCommandArg( sal_uInt32 nArg, rtl_uString * * strCommandArg );
Get the nArg-th command-line argument passed to the main-function of this process.
sal_uInt32
rtl_getAppCommandArgCount( );
Returns the number of command line arguments at process start.
const sal_Char *
rtl_getBestMimeCharsetFromTextEncoding( rtl_TextEncoding eTextEncoding );
Map from a text encoding to the best matching MIME charset.
const sal_Char *
rtl_getBestUnixCharsetFromTextEncoding( rtl_TextEncoding eTextEncoding );
Map from a text encoding to the best matching Unix charset.
sal_uInt8
rtl_getBestWindowsCharsetFromTextEncoding( rtl_TextEncoding eTextEncoding );
Map from a text encoding to the best matching numeric Windows charset.
void
rtl_getGlobalProcessId( sal_uInt8 * pTargetUUID );
gets a 16-byte fixed size identifier which is guaranteed not to change during the current process.
const char *
rtl_getMimeCharsetFromTextEncoding( rtl_TextEncoding nEncoding );
Map from a text encoding to a corresponding MIME charset name, if available (see <http://www.iana.org/assignments/character-sets>).
rtl_TextEncoding
rtl_getTextEncodingFromMimeCharset( const sal_Char * pMimeCharset );
Map from a MIME charset to a text encoding.
rtl_TextEncoding
rtl_getTextEncodingFromUnixCharset( const sal_Char * pUnixCharset );
Map from a Unix charset to a text encoding.
rtl_TextEncoding
rtl_getTextEncodingFromWindowsCharset( sal_uInt8 nWinCharset );
Map from a numeric Windows charset to a text encoding.
rtl_TextEncoding
rtl_getTextEncodingFromWindowsCodePage( sal_uInt32 nCodePage );
Map from a Windows code page to a text encoding.
sal_Bool
rtl_getTextEncodingInfo( rtl_TextEncoding eTextEncoding, rtl_TextEncodingInfo * pEncInfo );
Return information about a text encoding.
const sal_Bool *
rtl_getUriCharClass( rtl_UriCharClass eCharClass );
Map a predefined rtl_UriCharClass to a form usable by rtl_uriEncode().
sal_uInt32
rtl_getWindowsCodePageFromTextEncoding( rtl_TextEncoding nEncoding );
Map from a text encoding to a Windows code page.
sal_Bool
rtl_isOctetTextEncoding( rtl_TextEncoding nEncoding );
sal_Int32
rtl_locale_equals( rtl_Locale * This, rtl_Locale * obj );
Returns true if the locals are equal, otherwis false.
rtl_uString *
rtl_locale_getCountry( rtl_Locale * This );
Getter for programmatic name of field, an uppercased two-letter ISO-3166 code.
rtl_Locale *
rtl_locale_getDefault( );
rtl_uString *
rtl_locale_getLanguage( rtl_Locale * This );
Getter for programmatic name of field, a lowercased two-letter ISO 639-1 or three-letter ISO 639-3 code.
rtl_uString *
rtl_locale_getVariant( rtl_Locale * This );
Getter for programmatic name of field.
sal_Int32
rtl_locale_hashCode( rtl_Locale * This );
Returns the hash code of the locale This.
rtl_Locale *
rtl_locale_register( const sal_Unicode * language, const sal_Unicode * country, const sal_Unicode * variant );
Register a locale from language, country and variant.
void
rtl_locale_setDefault( const sal_Unicode * language, const sal_Unicode * country, const sal_Unicode * variant );
sal_Bool
rtl_logfile_hasLogFile( void );
Return if a log file is written.
void
rtl_logfile_longTrace( const char * format, ... );
Like rtl_logfile_trace, but prefixing every log entry with the current time and thread ID.
void
rtl_logfile_trace( const sal_Char * pszFormat, ... );
This function allows to log arbitrary messages even in a product-environment.
double
rtl_math_acosh( double fValue );
Returns values of the inverse hyperbolic cosine.
double
rtl_math_approxValue( double fValue );
Rounds value to 15 significant decimal digits.
double
rtl_math_asinh( double fValue );
Returns values of the inverse hyperbolic sine.
double
rtl_math_atanh( double fValue );
Returns more accurate atanh(x) for x near 0 than calculating 0.5*log((1+x)/(1-x)).
void
rtl_math_doubleToString( rtl_String * * pResult, sal_Int32 * pResultCapacity, sal_Int32 nResultOffset, double fValue, rtl_math_StringFormat eFormat, sal_Int32 nDecPlaces, sal_Char cDecSeparator, const sal_Int32 * pGroups, sal_Char cGroupSeparator, sal_Bool bEraseTrailingDecZeros );
Conversions analogous to sprintf() using internal rounding.
void
rtl_math_doubleToUString( rtl_uString * * pResult, sal_Int32 * pResultCapacity, sal_Int32 nResultOffset, double fValue, rtl_math_StringFormat eFormat, sal_Int32 nDecPlaces, sal_Unicode cDecSeparator, const sal_Int32 * pGroups, sal_Unicode cGroupSeparator, sal_Bool bEraseTrailingDecZeros );
Conversions analogous to sprintf() using internal rounding.
double
rtl_math_erf( double fValue );
Returns values of the Errorfunction erf.
double
rtl_math_erfc( double fValue );
Returns values of the complement Errorfunction erfc.
double
rtl_math_expm1( double fValue );
Returns more accurate e^x-1 for x near 0 than calculating directly.
double
rtl_math_log1p( double fValue );
Returns more accurate log(1+x) for x near 0 than calculating directly.
double
rtl_math_pow10Exp( double fValue, int nExp );
Scales fVal to a power of 10 without calling pow() or div() for nExp values between -16 and +16, providing a faster method.
double
rtl_math_round( double fValue, int nDecPlaces, rtl_math_RoundingMode eMode );
Rounds a double value.
double
rtl_math_stringToDouble( const sal_Char * pBegin, const sal_Char * pEnd, sal_Char cDecSeparator, sal_Char cGroupSeparator, rtl_math_ConversionStatus * pStatus, const sal_Char * * pParsedEnd );
Conversion analogous to strtod(), convert a string representing a decimal number into a double value.
double
rtl_math_uStringToDouble( const sal_Unicode * pBegin, const sal_Unicode * pEnd, sal_Unicode cDecSeparator, sal_Unicode cGroupSeparator, rtl_math_ConversionStatus * pStatus, const sal_Unicode * * pParsedEnd );
Conversion analogous to strtod(), convert a string representing a decimal number into a double value.
void
rtl_moduleCount_acquire( rtl_ModuleCount * that );
Default implementation for <code>rtl_ModuleCount.acquire</code>. Use this function along with <code>rtl_StandardModuleCount</code>.
sal_Bool
rtl_moduleCount_canUnload( rtl_StandardModuleCount * that, TimeValue * libUnused );
Default implementation for <code>component_canUnload</code>. Use this function along with <code>rtl_StandardModuleCount</code>.
void
rtl_moduleCount_release( rtl_ModuleCount * that );
void
rtl_moveMemory( void * Dst, const void * Src, sal_Size Bytes );
rtlRandomError
rtl_random_addBytes( rtlRandomPool Pool, const void * Buffer, sal_Size Bytes );
Add bytes to a Random Pool.
rtlRandomPool
rtl_random_createPool( void );
Create a Random Pool.
void
rtl_random_destroyPool( rtlRandomPool Pool );
Destroy a Random Pool.
rtlRandomError
rtl_random_getBytes( rtlRandomPool Pool, void * Buffer, sal_Size Bytes );
Retrieve bytes from a Random Pool.
void *
rtl_reallocateMemory( void * Ptr, sal_Size Bytes );
Reallocate memory.
sal_Bool
rtl_registerModuleForUnloading( oslModule module );
By registering a module, one declares that a module supports the unloading mechanism. One registers a module by calling this function.<p>
void
rtl_removeUnloadingListener( sal_Int32 cookie );
void
rtl_resetTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
void
rtl_resetUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext );
see http://udk.openoffice.org/cpp/man/spec/textconversion.html
sal_Int32
rtl_str_compare( const sal_Char * first, const sal_Char * second );
Compare two strings.
sal_Int32
rtl_str_compareIgnoreAsciiCase( const sal_Char * first, const sal_Char * second );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_str_compareIgnoreAsciiCase_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_str_compare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen );
Compare two strings.
sal_Int32
rtl_str_getLength( const sal_Char * str );
Return the length of a string.
sal_Int32
rtl_str_hashCode( const sal_Char * str );
Return a hash code for a string.
sal_Int32
rtl_str_hashCode_WithLength( const sal_Char * str, sal_Int32 len );
Return a hash code for a string.
sal_Int32
rtl_str_indexOfChar( const sal_Char * str, sal_Char ch );
Search for the first occurrence of a character within a string.
sal_Int32
rtl_str_indexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch );
Search for the first occurrence of a character within a string.
sal_Int32
rtl_str_indexOfStr( const sal_Char * str, const sal_Char * subStr );
Search for the first occurrence of a substring within a string.
sal_Int32
rtl_str_indexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Char * subStr, sal_Int32 subLen );
Search for the first occurrence of a substring within a string.
sal_Int32
rtl_str_lastIndexOfChar( const sal_Char * str, sal_Char ch );
Search for the last occurrence of a character within a string.
sal_Int32
rtl_str_lastIndexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch );
Search for the last occurrence of a character within a string.
sal_Int32
rtl_str_lastIndexOfStr( const sal_Char * str, const sal_Char * subStr );
Search for the last occurrence of a substring within a string.
sal_Int32
rtl_str_lastIndexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Char * subStr, sal_Int32 subLen );
Search for the last occurrence of a substring within a string.
void
rtl_str_replaceChar( sal_Char * str, sal_Char oldChar, sal_Char newChar );
Replace all occurrences of a single character within a string.
void
rtl_str_replaceChar_WithLength( sal_Char * str, sal_Int32 len, sal_Char oldChar, sal_Char newChar );
Replace all occurrences of a single character within a string.
sal_Int32
rtl_str_reverseCompare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen );
Compare two strings from back to front.
sal_Int32
rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen, sal_Int32 shortenedLen );
Compare two strings with a maximum count of characters, ignoring the case of ASCII characters.
sal_Int32
rtl_str_shortenedCompare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen, sal_Int32 shortenedLen );
Compare two strings with a maximum count of characters.
void
rtl_str_toAsciiLowerCase( sal_Char * str );
Convert all ASCII uppercase letters to lowercase within a string.
void
rtl_str_toAsciiLowerCase_WithLength( sal_Char * str, sal_Int32 len );
Convert all ASCII uppercase letters to lowercase within a string.
void
rtl_str_toAsciiUpperCase( sal_Char * str );
Convert all ASCII lowercase letters to uppercase within a string.
void
rtl_str_toAsciiUpperCase_WithLength( sal_Char * str, sal_Int32 len );
Convert all ASCII lowercase letters to uppercase within a string.
sal_Bool
rtl_str_toBoolean( const sal_Char * str );
Interpret a string as a boolean.
double
rtl_str_toDouble( const sal_Char * str );
Interpret a string as a double.
float
rtl_str_toFloat( const sal_Char * str );
Interpret a string as a float.
sal_Int32
rtl_str_toInt32( const sal_Char * str, sal_Int16 radix );
Interpret a string as an integer.
sal_Int64
rtl_str_toInt64( const sal_Char * str, sal_Int16 radix );
Interpret a string as a long integer.
sal_Int32
rtl_str_trim( sal_Char * str );
Remove white space from both ends of a string.
sal_Int32
rtl_str_trim_WithLength( sal_Char * str, sal_Int32 len );
Remove white space from both ends of the string.
sal_Int32
rtl_str_valueOfBoolean( sal_Char * str, sal_Bool b );
Create the string representation of a boolean.
sal_Int32
rtl_str_valueOfChar( sal_Char * str, sal_Char ch );
Create the string representation of a character.
sal_Int32
rtl_str_valueOfDouble( sal_Char * str, double d );
Create the string representation of a double.
sal_Int32
rtl_str_valueOfFloat( sal_Char * str, float f );
Create the string representation of a float.
sal_Int32
rtl_str_valueOfInt32( sal_Char * str, sal_Int32 i, sal_Int16 radix );
Create the string representation of an integer.
sal_Int32
rtl_str_valueOfInt64( sal_Char * str, sal_Int64 l, sal_Int16 radix );
Create the string representation of a long integer.
void
rtl_string2UString( rtl_uString * * newStr, const sal_Char * str, sal_Int32 len, rtl_TextEncoding encoding, sal_uInt32 convertFlags );
Create a new Unicode string by converting a byte string, using a specific text encoding.
void
rtl_string_acquire( rtl_String * str );
Increment the reference count of a string.
void
rtl_string_assign( rtl_String * * str, rtl_String * rightValue );
Assign a new value to a string.
sal_Int32
rtl_string_getLength( const rtl_String * str );
Return the length of a string.
sal_Char *
rtl_string_getStr( rtl_String * str );
Return a pointer to the underlying character array of a string.
sal_Int32
rtl_string_getToken( rtl_String * * newStr, rtl_String * str, sal_Int32 token, sal_Char cTok, sal_Int32 idx );
Create a new string by extracting a single token from another string.
void
rtl_string_new( rtl_String * * newStr );
Allocate a new string containing no characters.
void
rtl_string_newConcat( rtl_String * * newStr, rtl_String * left, rtl_String * right );
Create a new string that is the concatenation of two other strings.
void
rtl_string_newFromStr( rtl_String * * newStr, const sal_Char * value );
Allocate a new string that contains a copy of a character array.
void
rtl_string_newFromStr_WithLength( rtl_String * * newStr, const sal_Char * value, sal_Int32 len );
Allocate a new string that contains a copy of a character array.
void
rtl_string_newFromString( rtl_String * * newStr, const rtl_String * value );
Allocate a new string that contains a copy of another string.
void
rtl_string_newReplace( rtl_String * * newStr, rtl_String * str, sal_Char oldChar, sal_Char newChar );
Create a new string by replacing all occurrences of a single character within another string.
void
rtl_string_newReplaceStrAt( rtl_String * * newStr, rtl_String * str, sal_Int32 idx, sal_Int32 count, rtl_String * subStr );
Create a new string by replacing a substring of another string.
void
rtl_string_newToAsciiLowerCase( rtl_String * * newStr, rtl_String * str );
Create a new string by converting all ASCII uppercase letters to lowercase within another string.
void
rtl_string_newToAsciiUpperCase( rtl_String * * newStr, rtl_String * str );
Create a new string by converting all ASCII lowercase letters to uppercase within another string.
void
rtl_string_newTrim( rtl_String * * newStr, rtl_String * str );
Create a new string by removing white space from both ends of another string.
void
rtl_string_new_WithLength( rtl_String * * newStr, sal_Int32 len );
Allocate a new string containing space for a given number of characters.
void
rtl_string_release( rtl_String * str );
Decrement the reference count of a string.
void
rtl_stringbuffer_ensureCapacity( rtl_String * * This, sal_Int32 * capacity, sal_Int32 minimumCapacity );
Ensures that the capacity of the buffer is at least equal to the specified minimum.
void
rtl_stringbuffer_insert( rtl_String * * This, sal_Int32 * capacity, sal_Int32 offset, const sal_Char * str, sal_Int32 len );
Inserts the string representation of the <code>char</code> array argument into this string buffer.
void
rtl_stringbuffer_newFromStr_WithLength( rtl_String * * newStr, const sal_Char * value, sal_Int32 count );
Allocates a new <code>String</code> that contains characters from the character array argument.
sal_Int32
rtl_stringbuffer_newFromStringBuffer( rtl_String * * newStr, sal_Int32 capacity, rtl_String * olsStr );
Allocates a new <code>String</code> that contains the same sequence of characters as the string argument.
rtl_TestResult *
rtl_tres_create( const sal_Char * meth, sal_uInt32 flags );
void
rtl_tres_destroy( rtl_TestResult * res );
void
rtl_uString2String( rtl_String * * newStr, const sal_Unicode * str, sal_Int32 len, rtl_TextEncoding encoding, sal_uInt32 convertFlags );
Create a new byte string by converting a Unicode string, using a specific text encoding.
void
rtl_uString_acquire( rtl_uString * str );
Increment the reference count of a string.
void
rtl_uString_assign( rtl_uString * * str, rtl_uString * rightValue );
Assign a new value to a string.
sal_Int32
rtl_uString_getLength( const rtl_uString * str );
Return the length of a string.
sal_Unicode *
rtl_uString_getStr( rtl_uString * str );
Return a pointer to the underlying character array of a string.
sal_Int32
rtl_uString_getToken( rtl_uString * * newStr, rtl_uString * str, sal_Int32 token, sal_Unicode cTok, sal_Int32 idx );
Create a new string by extracting a single token from another string.
void
rtl_uString_intern( rtl_uString * * newStr, rtl_uString * str );
Return a canonical representation for a string.
void
rtl_uString_internConvert( rtl_uString * * newStr, const sal_Char * str, sal_Int32 len, rtl_TextEncoding encoding, sal_uInt32 convertFlags, sal_uInt32 * pInfo );
Return a canonical representation for a string.
sal_uInt32
rtl_uString_iterateCodePoints( const rtl_uString * string, sal_Int32 * indexUtf16, sal_Int32 incrementCodePoints );
Iterate through a string based on code points instead of UTF-16 code units.
void
rtl_uString_new( rtl_uString * * newStr );
Allocate a new string containing no characters.
void
rtl_uString_newConcat( rtl_uString * * newStr, rtl_uString * left, rtl_uString * right );
Create a new string that is the concatenation of two other strings.
void
rtl_uString_newFromAscii( rtl_uString * * newStr, const sal_Char * value );
Allocate a new string that contains a copy of a character array.
void
rtl_uString_newFromCodePoints( rtl_uString * * newString, const sal_uInt32 * codePoints, sal_Int32 codePointCount );
Allocate a new string from an array of Unicode code points.
void
rtl_uString_newFromStr( rtl_uString * * newStr, const sal_Unicode * value );
Allocate a new string that contains a copy of a character array.
void
rtl_uString_newFromStr_WithLength( rtl_uString * * newStr, const sal_Unicode * value, sal_Int32 len );
Allocate a new string that contains a copy of a character array.
void
rtl_uString_newFromString( rtl_uString * * newStr, const rtl_uString * value );
Allocate a new string that contains a copy of another string.
void
rtl_uString_newReplace( rtl_uString * * newStr, rtl_uString * str, sal_Unicode oldChar, sal_Unicode newChar );
Create a new string by replacing all occurrences of a single character within another string.
void
rtl_uString_newReplaceStrAt( rtl_uString * * newStr, rtl_uString * str, sal_Int32 idx, sal_Int32 count, rtl_uString * subStr );
Create a new string by replacing a substring of another string.
void
rtl_uString_newToAsciiLowerCase( rtl_uString * * newStr, rtl_uString * str );
Create a new string by converting all ASCII uppercase letters to lowercase within another string.
void
rtl_uString_newToAsciiUpperCase( rtl_uString * * newStr, rtl_uString * str );
Create a new string by converting all ASCII lowercase letters to uppercase within another string.
void
rtl_uString_newTrim( rtl_uString * * newStr, rtl_uString * str );
Create a new string by removing white space from both ends of another string.
void
rtl_uString_new_WithLength( rtl_uString * * newStr, sal_Int32 nLen );
Allocate a new string containing space for a given number of characters.
void
rtl_uString_release( rtl_uString * str );
Decrement the reference count of a string.
void
rtl_uStringbuffer_ensureCapacity( rtl_uString * * This, sal_Int32 * capacity, sal_Int32 minimumCapacity );
Ensures that the capacity of the buffer is at least equal to the specified minimum.
void
rtl_uStringbuffer_insert( rtl_uString * * This, sal_Int32 * capacity, sal_Int32 offset, const sal_Unicode * str, sal_Int32 len );
Inserts the string representation of the <code>str</code> array argument into this string buffer.
void
rtl_uStringbuffer_insertUtf32( rtl_uString * * pThis, sal_Int32 * capacity, sal_Int32 offset, sal_uInt32 c );
Inserts a single UTF-32 character into this string buffer.
void
rtl_uStringbuffer_insert_ascii( rtl_uString * * This, sal_Int32 * capacity, sal_Int32 offset, const sal_Char * str, sal_Int32 len );
Inserts the 8-Bit ASCII string representation of the <code>str</code> array argument into this string buffer.
void
rtl_uStringbuffer_newFromStr_WithLength( rtl_uString * * newStr, const sal_Unicode * value, sal_Int32 count );
Allocates a new <code>String</code> that contains characters from the character array argument.
sal_Int32
rtl_uStringbuffer_newFromStringBuffer( rtl_uString * * newStr, sal_Int32 capacity, rtl_uString * olsStr );
Allocates a new <code>String</code> that contains the same sequence of characters as the string argument.
void
rtl_unloadUnusedModules( TimeValue * libUnused );
void
rtl_unregisterModuleForUnloading( oslModule module );
sal_Bool
rtl_uriConvertRelToAbs( rtl_uString * pBaseUriRef, rtl_uString * pRelUriRef, rtl_uString * * pResult, rtl_uString * * pException );
Convert a relative URI reference into an absolute one.
void
rtl_uriDecode( rtl_uString * pText, rtl_UriDecodeMechanism eMechanism, rtl_TextEncoding eCharset, rtl_uString * * pResult );
Decode (a part of) a URI.
void
rtl_uriEncode( rtl_uString * pText, const sal_Bool * pCharClass, rtl_UriEncodeMechanism eMechanism, rtl_TextEncoding eCharset, rtl_uString * * pResult );
Encode a text as (part of) a URI.
sal_Int32
rtl_ustr_ascii_compare( const sal_Unicode * first, const sal_Char * second );
Compare two strings.
sal_Int32
rtl_ustr_ascii_compareIgnoreAsciiCase( const sal_Unicode * first, const sal_Char * second );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths( const sal_Unicode * first, sal_Int32 firstLen, const char * second, sal_Int32 secondLen );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_ascii_compare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second );
Compare two strings.
sal_Int32
rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 shortenedLen );
Compare two strings with a maximum count of characters, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_ascii_shortenedCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 shortenedLen );
Compare two strings with a maximum count of characters.
sal_Int32
rtl_ustr_asciil_reverseCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen );
Compare two strings from back to front.
sal_Bool
rtl_ustr_asciil_reverseEquals_WithLength( const sal_Unicode * first, const sal_Char * second, sal_Int32 len );
Compare two strings from back to front for equality.
sal_Int32
rtl_ustr_compare( const sal_Unicode * first, const sal_Unicode * second );
Compare two strings.
sal_Int32
rtl_ustr_compareIgnoreAsciiCase( const sal_Unicode * first, const sal_Unicode * second );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_compareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen );
Compare two strings, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_compare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen );
Compare two strings.
sal_Int32
rtl_ustr_getLength( const sal_Unicode * str );
Return the length of a string.
sal_Int32
rtl_ustr_hashCode( const sal_Unicode * str );
Return a hash code for a string.
sal_Int32
rtl_ustr_hashCode_WithLength( const sal_Unicode * str, sal_Int32 len );
Return a hash code for a string.
sal_Int32
rtl_ustr_indexOfAscii_WithLength( const sal_Unicode * str, sal_Int32 len, const char * subStr, sal_Int32 subLen );
Search for the first occurrence of an ASCII substring within a string.
sal_Int32
rtl_ustr_indexOfChar( const sal_Unicode * str, sal_Unicode ch );
Search for the first occurrence of a character within a string.
sal_Int32
rtl_ustr_indexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Unicode ch );
Search for the first occurrence of a character within a string.
sal_Int32
rtl_ustr_indexOfStr( const sal_Unicode * str, const sal_Unicode * subStr );
Search for the first occurrence of a substring within a string.
sal_Int32
rtl_ustr_indexOfStr_WithLength( const sal_Unicode * str, sal_Int32 len, const sal_Unicode * subStr, sal_Int32 subLen );
Search for the first occurrence of a substring within a string.
sal_Int32
rtl_ustr_lastIndexOfAscii_WithLength( const sal_Unicode * str, sal_Int32 len, const char * subStr, sal_Int32 subLen );
Search for the last occurrence of an ASCII substring within a string.
sal_Int32
rtl_ustr_lastIndexOfChar( const sal_Unicode * str, sal_Unicode ch );
Search for the last occurrence of a character within a string.
sal_Int32
rtl_ustr_lastIndexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Unicode ch );
Search for the last occurrence of a character within a string.
sal_Int32
rtl_ustr_lastIndexOfStr( const sal_Unicode * str, const sal_Unicode * subStr );
Search for the last occurrence of a substring within a string.
sal_Int32
rtl_ustr_lastIndexOfStr_WithLength( const sal_Unicode * str, sal_Int32 len, const sal_Unicode * subStr, sal_Int32 subLen );
Search for the last occurrence of a substring within a string.
void
rtl_ustr_replaceChar( sal_Unicode * str, sal_Unicode oldChar, sal_Unicode newChar );
Replace all occurrences of a single character within a string.
void
rtl_ustr_replaceChar_WithLength( sal_Unicode * str, sal_Int32 len, sal_Unicode oldChar, sal_Unicode newChar );
Replace all occurrences of a single character within a string.
sal_Int32
rtl_ustr_reverseCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen );
Compare two strings from back to front.
sal_Int32
rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen, sal_Int32 shortenedLen );
Compare two strings with a maximum count of characters, ignoring the case of ASCII characters.
sal_Int32
rtl_ustr_shortenedCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen, sal_Int32 shortenedLen );
Compare two strings with a maximum count of characters.
void
rtl_ustr_toAsciiLowerCase( sal_Unicode * str );
Convert all ASCII uppercase letters to lowercase within a string.
void
rtl_ustr_toAsciiLowerCase_WithLength( sal_Unicode * str, sal_Int32 len );
Convert all ASCII uppercase letters to lowercase within a string.
void
rtl_ustr_toAsciiUpperCase( sal_Unicode * str );
Convert all ASCII lowercase letters to uppercase within a string.
void
rtl_ustr_toAsciiUpperCase_WithLength( sal_Unicode * str, sal_Int32 len );
Convert all ASCII lowercase letters to uppercase within a string.
sal_Bool
rtl_ustr_toBoolean( const sal_Unicode * str );
Interpret a string as a boolean.
double
rtl_ustr_toDouble( const sal_Unicode * str );
Interpret a string as a double.
float
rtl_ustr_toFloat( const sal_Unicode * str );
Interpret a string as a float.
sal_Int32
rtl_ustr_toInt32( const sal_Unicode * str, sal_Int16 radix );
Interpret a string as an integer.
sal_Int64
rtl_ustr_toInt64( const sal_Unicode * str, sal_Int16 radix );
Interpret a string as a long integer.
sal_Int32
rtl_ustr_trim( sal_Unicode * str );
Remove white space from both ends of a string.
sal_Int32
rtl_ustr_trim_WithLength( sal_Unicode * str, sal_Int32 len );
Remove white space from both ends of the string.
sal_Int32
rtl_ustr_valueOfBoolean( sal_Unicode * str, sal_Bool b );
Create the string representation of a boolean.
sal_Int32
rtl_ustr_valueOfChar( sal_Unicode * str, sal_Unicode ch );
Create the string representation of a character.
sal_Int32
rtl_ustr_valueOfDouble( sal_Unicode * str, double d );
Create the string representation of a double.
sal_Int32
rtl_ustr_valueOfFloat( sal_Unicode * str, float f );
Create the string representation of a float.
sal_Int32
rtl_ustr_valueOfInt32( sal_Unicode * str, sal_Int32 i, sal_Int16 radix );
Create the string representation of an integer.
sal_Int32
rtl_ustr_valueOfInt64( sal_Unicode * str, sal_Int64 l, sal_Int16 radix );
Create the string representation of a long integer.
void
rtl_zeroMemory( void * Ptr, sal_Size Bytes );
void
sal_detail_deinitialize( );
void
sal_detail_initialize( int argc, char * * argv );
storeError
store_acquireHandle( storeHandle Handle );
Acquire a Handle.
storeError
store_attrib( storeFileHandle hFile, rtl_uString * pPath, rtl_uString * pName, sal_uInt32 nMask1, sal_uInt32 nMask2, sal_uInt32 * pnAttrib );
Set attributes of a file entry.
storeError
store_closeDirectory( storeDirectoryHandle hDirectory );
Close a directory.
storeError
store_closeFile( storeFileHandle hFile );
Close a file.
storeError
store_closeStream( storeStreamHandle hStrm );
Close a stream.
storeError
store_createMemoryFile( sal_uInt16 nPageSize, storeFileHandle * phFile );
Open a temporary file in memory.
storeError
store_findFirst( storeDirectoryHandle hDirectory, storeFindData * pFindData );
Find first directory entry.
storeError
store_findNext( storeDirectoryHandle hDirectory, storeFindData * pFindData );
Find next directory entry.
storeError
store_flushFile( storeFileHandle hFile );
Flush a file.
storeError
store_flushStream( storeStreamHandle hStrm );
Flush a stream.
storeError
store_getFileRefererCount( storeFileHandle hFile, sal_uInt32 * pnRefCount );
Get the number of referers to a file.
storeError
store_getFileSize( storeFileHandle hFile, sal_uInt32 * pnSize );
Get the size of a file.
storeError
store_getStreamSize( storeStreamHandle hStrm, sal_uInt32 * pnSize );
Get the size of a stream.
storeError
store_link( storeFileHandle hFile, rtl_uString * pSrcPath, rtl_uString * pSrcName, rtl_uString * pDstPath, rtl_uString * pDstName );
Insert a file entry as 'hard link' to another file entry.
storeError
store_openDirectory( storeFileHandle hFile, rtl_uString * pPath, rtl_uString * pName, storeAccessMode eAccessMode, storeDirectoryHandle * phDirectory );
Open a directory.
storeError
store_openFile( rtl_uString * pFilename, storeAccessMode eAccessMode, sal_uInt16 nPageSize, storeFileHandle * phFile );
Open a file.
storeError
store_openStream( storeFileHandle hFile, rtl_uString * pPath, rtl_uString * pName, storeAccessMode eMode, storeStreamHandle * phStrm );
Open a stream.
storeError
store_readStream( storeStreamHandle hStrm, sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes, sal_uInt32 * pnDone );
Read from a stream.
storeError
store_rebuildFile( rtl_uString * pSrcFilename, rtl_uString * pDstFilename );
Recover and Compact a file into another file.
storeError
store_releaseHandle( storeHandle Handle );
Release a Handle.
storeError
store_remove( storeFileHandle hFile, rtl_uString * pPath, rtl_uString * pName );
Remove a file entry.
storeError
store_rename( storeFileHandle hFile, rtl_uString * pSrcPath, rtl_uString * pSrcName, rtl_uString * pDstPath, rtl_uString * pDstName );
Rename a file entry.
storeError
store_setStreamSize( storeStreamHandle hStrm, sal_uInt32 nSize );
Set the size of a stream.
storeError
store_symlink( storeFileHandle hFile, rtl_uString * pSrcPath, rtl_uString * pSrcName, rtl_uString * pDstPath, rtl_uString * pDstName );
Insert a file entry as 'symbolic link' to another file entry.
storeError
store_writeStream( storeStreamHandle hStrm, sal_uInt32 nOffset, const void * pBuffer, sal_uInt32 nBytes, sal_uInt32 * pnDone );
Write to a stream.
void
typelib_setCacheSize( sal_Int32 nNewSize );
Sets size of type description cache.
void
typelib_static_array_type_init( typelib_TypeDescriptionReference * * ppRef, typelib_TypeDescriptionReference * pElementType, sal_Int32 nDimensions, ... );
Inits static array type reference. Thread synchronizes on typelib init mutex.
void
typelib_static_compound_type_init( typelib_TypeDescriptionReference * * ppRef, typelib_TypeClass eTypeClass, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference * * ppMembers );
Inits incomplete static compound type reference. Thread synchronizes on typelib init mutex.
void
typelib_static_enum_type_init( typelib_TypeDescriptionReference * * ppRef, const sal_Char * pTypeName, sal_Int32 nDefaultValue );
Inits incomplete static enum type reference. Thread synchronizes on typelib init mutex.
void
typelib_static_interface_type_init( typelib_TypeDescriptionReference * * ppRef, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pBaseType );
Inits incomplete static interface type reference. Thread synchronizes on typelib init mutex.
void
typelib_static_mi_interface_type_init( typelib_TypeDescriptionReference * * ppRef, const sal_Char * pTypeName, sal_Int32 nBaseTypes, typelib_TypeDescriptionReference * * ppBaseTypes );
Inits incomplete static multiple-inheritance interface type reference. Thread synchronizes on typelib init mutex.
void
typelib_static_sequence_type_init( typelib_TypeDescriptionReference * * ppRef, typelib_TypeDescriptionReference * pElementType );
Inits static sequence type reference. Thread synchronizes on typelib init mutex.
void
typelib_static_struct_type_init( typelib_TypeDescriptionReference * * ppRef, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference * * ppMembers, const sal_Bool * pParameterizedTypes );
Inits incomplete static struct type reference.
typelib_TypeDescriptionReference * *
typelib_static_type_getByTypeClass( typelib_TypeClass eTypeClass );
void
typelib_static_type_init( typelib_TypeDescriptionReference * * ppRef, typelib_TypeClass eTypeClass, const sal_Char * pTypeName );
Inits static type reference. Thread synchronizes on typelib init mutex.
void
typelib_typedescription_acquire( typelib_TypeDescription * pDesc );
Increments reference count of given type description.
sal_Bool
typelib_typedescription_complete( typelib_TypeDescription * * ppTypeDescr );
sal_Bool
typelib_typedescription_equals( const typelib_TypeDescription * p1, const typelib_TypeDescription * p2 );
Tests whether two types descriptions are equal, i.e. type class and names are equal.
void
typelib_typedescription_getByName( typelib_TypeDescription * * ppRet, rtl_uString * pName );
Retrieves a type description via its fully qualified name.
sal_Bool
typelib_typedescription_isAssignableFrom( typelib_TypeDescription * pAssignable, typelib_TypeDescription * pFrom );
Tests if values of type pAssignable can be assigned by values of type pFrom. This includes widening conversion (e.g., long assignable from short), as long as there is no data loss.
void
typelib_typedescription_new( typelib_TypeDescription * * ppRet, typelib_TypeClass eTypeClass, rtl_uString * pTypeName, typelib_TypeDescriptionReference * pType, sal_Int32 nMembers, typelib_CompoundMember_Init * pMembers );
Creates a new type description.
void
typelib_typedescription_newArray( typelib_TypeDescription * * ppRet, typelib_TypeDescriptionReference * pElementTypeRef, sal_Int32 nDimensions, sal_Int32 * pDimensions );
Creates an array type description.
void
typelib_typedescription_newEnum( typelib_TypeDescription * * ppRet, rtl_uString * pTypeName, sal_Int32 nDefaultValue, sal_Int32 nEnumValues, rtl_uString * * ppEnumNames, sal_Int32 * pEnumValues );
Creates an enum type description.
void
typelib_typedescription_newExtendedInterfaceAttribute( typelib_InterfaceAttributeTypeDescription * * ppRet, sal_Int32 nAbsolutePosition, rtl_uString * pAttributeName, typelib_TypeClass eAttributeTypeClass, rtl_uString * pAttributeTypeName, sal_Bool bReadOnly, sal_Int32 nGetExceptions, rtl_uString * * ppGetExceptionNames, sal_Int32 nSetExceptions, rtl_uString * * ppSetExceptionNames );
Creates an extended interface attribute type description.
void
typelib_typedescription_newInterface( typelib_InterfaceTypeDescription * * ppRet, rtl_uString * pTypeName, sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, typelib_TypeDescriptionReference * pBaseInterface, sal_Int32 nMembers, typelib_TypeDescriptionReference * * ppMembers );
Creates an interface type description.
void
typelib_typedescription_newInterfaceAttribute( typelib_InterfaceAttributeTypeDescription * * ppRet, sal_Int32 nAbsolutePosition, rtl_uString * pAttributeName, typelib_TypeClass eAttributeTypeClass, rtl_uString * pAttributeTypeName, sal_Bool bReadOnly );
Creates an interface attribute type description.
void
typelib_typedescription_newInterfaceMethod( typelib_InterfaceMethodTypeDescription * * ppRet, sal_Int32 nAbsolutePosition, sal_Bool bOneWay, rtl_uString * pMethodName, typelib_TypeClass eReturnTypeClass, rtl_uString * pReturnTypeName, sal_Int32 nParams, typelib_Parameter_Init * pParams, sal_Int32 nExceptions, rtl_uString * * ppExceptionNames );
Creates an interface method type description.
void
typelib_typedescription_newMIInterface( typelib_InterfaceTypeDescription * * ppRet, rtl_uString * pTypeName, sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, sal_Int32 nBaseInterfaces, typelib_TypeDescriptionReference * * ppBaseInterfaces, sal_Int32 nMembers, typelib_TypeDescriptionReference * * ppMembers );
Creates a multiple-inheritance interface type description.
void
typelib_typedescription_newStruct( typelib_TypeDescription * * ppRet, rtl_uString * pTypeName, typelib_TypeDescriptionReference * pType, sal_Int32 nMembers, typelib_StructMember_Init * pMembers );
Creates a new struct type description.
void
typelib_typedescription_newUnion( typelib_TypeDescription * * ppRet, rtl_uString * pTypeName, typelib_TypeDescriptionReference * pDiscriminantTypeRef, sal_Int64 nDefaultDiscriminant, typelib_TypeDescriptionReference * pDefaultTypeRef, sal_Int32 nMembers, typelib_Union_Init * pMembers );
Creates a union type description. All discriminants are handled as int64 values. The pDiscriminantTypeRef must be of type byte, short, ..., up to hyper.
void
typelib_typedescription_register( typelib_TypeDescription * * ppNewDescription );
Registers a type description and creates a type description reference. Type descriptions will be registered automatically if they are provided via the callback chain.
void
typelib_typedescription_registerCallback( void * pContext, typelib_typedescription_Callback pCallback );
Registers callback function providing additional type descriptions.
void
typelib_typedescription_release( typelib_TypeDescription * pDesc );
Decrements reference count of given type. If reference count reaches 0, the trype description is deleted.
void
typelib_typedescription_revokeCallback( void * pContext, typelib_typedescription_Callback pCallback );
Revokes a previously registered callback function.
void
typelib_typedescriptionreference_acquire( typelib_TypeDescriptionReference * pRef );
Increments reference count of type description reference.
void
typelib_typedescriptionreference_assign( typelib_TypeDescriptionReference * * ppDest, typelib_TypeDescriptionReference * pSource );
Assigns a type.
sal_Bool
typelib_typedescriptionreference_equals( const typelib_TypeDescriptionReference * p1, const typelib_TypeDescriptionReference * p2 );
Tests whether two types description references are equal, i.e. type class and names are equal.
void
typelib_typedescriptionreference_getDescription( typelib_TypeDescription * * ppRet, typelib_TypeDescriptionReference * pRef );
Retrieves the type description for a given reference. If it is not possible to resolve the reference, null is returned.
sal_Bool
typelib_typedescriptionreference_isAssignableFrom( typelib_TypeDescriptionReference * pAssignable, typelib_TypeDescriptionReference * pFrom );
Tests if values of type pAssignable can be assigned by values of type pFrom. This includes widening conversion (e.g., long assignable from short), as long as there is no data loss.
void
typelib_typedescriptionreference_new( typelib_TypeDescriptionReference * * ppTDR, typelib_TypeClass eTypeClass, rtl_uString * pTypeName );
Creates a type description reference. This is a weak reference not holding the description. If the description is already registered, the previous one is returned.
void
typelib_typedescriptionreference_newByAsciiName( typelib_TypeDescriptionReference * * ppTDR, typelib_TypeClass eTypeClass, const sal_Char * pTypeName );
Creates a type description reference. This is a weak reference not holding the description. If the description is already registered, the previous one is returned.
void
typelib_typedescriptionreference_release( typelib_TypeDescriptionReference * pRef );
Increments reference count of type description reference. If the reference count reaches 0, then the reference is deleted.
void
typereg_reader_acquire( void * handle );
Increments the reference count of a type reader.
sal_Bool
typereg_reader_create( const void * buffer, sal_uInt32 length, sal_Bool copy, typereg_Version maxVersion, void * * result );
Creates a type reader working on a binary blob that represents a UNOIDL type.
void
typereg_reader_getDocumentation( void * handle, rtl_uString * * result );
Returns the documentation of a type reader.
sal_uInt16
typereg_reader_getFieldCount( void * handle );
Returns the number of fields of a type reader.
void
typereg_reader_getFieldDocumentation( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the documentation of a field of a type reader.
void
typereg_reader_getFieldFileName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the file name of a field of a type reader.
RTFieldAccess
typereg_reader_getFieldFlags( void * handle, sal_uInt16 index );
Returns the flags of a field of a type reader.
void
typereg_reader_getFieldName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the name of a field of a type reader.
void
typereg_reader_getFieldTypeName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the type name of a field of a type reader.
sal_Bool
typereg_reader_getFieldValue( void * handle, sal_uInt16 index, RTValueType * type, RTConstValueUnion * value );
Returns the value of a field of a type reader.
void
typereg_reader_getFileName( void * handle, rtl_uString * * result );
Returns the file name of a type reader.
sal_uInt16
typereg_reader_getMethodCount( void * handle );
Returns the number of methods of a type reader.
void
typereg_reader_getMethodDocumentation( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the documentation of a method of a type reader.
sal_uInt16
typereg_reader_getMethodExceptionCount( void * handle, sal_uInt16 index );
Returns the number of exceptions of a method of a type reader.
void
typereg_reader_getMethodExceptionTypeName( void * handle, rtl_uString * * result, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex );
Returns the type name of an exception of a method of a type reader.
RTMethodMode
typereg_reader_getMethodFlags( void * handle, sal_uInt16 index );
Returns the flags of a method of a type reader.
void
typereg_reader_getMethodName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the name of a method of a type reader.
sal_uInt16
typereg_reader_getMethodParameterCount( void * handle, sal_uInt16 index );
Returns the number of parameters of a method of a type reader.
RTParamMode
typereg_reader_getMethodParameterFlags( void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex );
Returns the flags of a parameter of a method of a type reader.
void
typereg_reader_getMethodParameterName( void * handle, rtl_uString * * result, sal_uInt16 methodIndex, sal_uInt16 parameterIndex );
Returns the name of a parameter of a method of a type reader.
void
typereg_reader_getMethodParameterTypeName( void * handle, rtl_uString * * result, sal_uInt16 methodIndex, sal_uInt16 parameterIndex );
Returns the type name of a parameter of a method of a type reader.
void
typereg_reader_getMethodReturnTypeName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the return type name of a method of a type reader.
sal_uInt16
typereg_reader_getReferenceCount( void * handle );
Returns the number of references of a type reader.
void
typereg_reader_getReferenceDocumentation( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the documentation of a reference of a type reader.
RTFieldAccess
typereg_reader_getReferenceFlags( void * handle, sal_uInt16 index );
Returns the flags of a reference of a type reader.
RTReferenceType
typereg_reader_getReferenceSort( void * handle, sal_uInt16 index );
Returns the sort of a reference of a type reader.
void
typereg_reader_getReferenceTypeName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the type name of a reference of a type reader.
sal_uInt16
typereg_reader_getSuperTypeCount( void * handle );
Returns the number of super types of a type reader.
void
typereg_reader_getSuperTypeName( void * handle, rtl_uString * * result, sal_uInt16 index );
Returns the type name of a super type of a type reader.
RTTypeClass
typereg_reader_getTypeClass( void * handle );
Returns the type class of a type reader.
void
typereg_reader_getTypeName( void * handle, rtl_uString * * result );
Returns the type name of a type reader.
typereg_Version
typereg_reader_getVersion( void * handle );
Returns the binary blob version of a type reader.
sal_Bool
typereg_reader_isPublished( void * handle );
Returns whether a type reader is published.
void
typereg_reader_release( void * handle );
Decrements the reference count of a type reader.
void *
typereg_writer_create( typereg_Version version, const rtl_uString * documentation, const rtl_uString * fileName, RTTypeClass typeClass, sal_Bool published, const rtl_uString * typeName, sal_uInt16 superTypeCount, sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount );
Creates a type writer working on a binary blob that represents a UNOIDL type.
void
typereg_writer_destroy( void * handle );
Destroys a type writer.
const void *
typereg_writer_getBlob( void * handle, sal_uInt32 * size );
Returns the blob of a type writer.
sal_Bool
typereg_writer_setFieldData( void * handle, sal_uInt16 index, const rtl_uString * documentation, const rtl_uString * fileName, RTFieldAccess flags, const rtl_uString * name, const rtl_uString * typeName, RTValueType valueType, RTConstValueUnion valueValue );
Sets the data of a field of a type writer.
sal_Bool
typereg_writer_setMethodData( void * handle, sal_uInt16 index, const rtl_uString * documentation, RTMethodMode flags, const rtl_uString * name, const rtl_uString * returnTypeName, sal_uInt16 parameterCount, sal_uInt16 exceptionCount );
Sets the data of a method of a type writer.
sal_Bool
typereg_writer_setMethodExceptionTypeName( void * handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex, const rtl_uString * typeName );
Sets an exception type name of a method of a type writer.
sal_Bool
typereg_writer_setMethodParameterData( void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex, RTParamMode flags, const rtl_uString * name, const rtl_uString * typeName );
Sets the data of a parameter of a method of a type writer.
sal_Bool
typereg_writer_setReferenceData( void * handle, sal_uInt16 index, const rtl_uString * documentation, RTReferenceType sort, RTFieldAccess flags, const rtl_uString * typeName );
Sets the data of a reference of a type writer.
sal_Bool
typereg_writer_setSuperTypeName( void * handle, sal_uInt16 index, const rtl_uString * typeName );
Sets the type name of a super type of a type writer.
void
uno_EnvDcp_getPurpose( const rtl_uString * pEnvDcp, rtl_uString * * ppEnvPurpose );
Get the purpose part of an environment descriptor. (http://wiki.services.openoffice.org/wiki/Uno/Binary/Spec/Environment_Descriptor)
void
uno_EnvDcp_getTypeName( const rtl_uString * pEnvDcp, rtl_uString * * ppEnvTypeName );
Get the OBI type part of an environment descriptor. (http://wiki.services.openoffice.org/wiki/Uno/Binary/Spec/Environment_Descriptor)
void
uno_Environment_enter( uno_Environment * pEnv );
Enter an environment explicitly.
void
uno_Environment_invoke( uno_Environment * pEnv, uno_EnvCallee * pCallee, ... );
Invoke the passed function in the given environment.
void
uno_Environment_invoke_v( uno_Environment * pEnv, uno_EnvCallee * pCallee, va_list * pParam );
Invoke the passed function in the given environment.
int
uno_Environment_isValid( uno_Environment * pEnv, rtl_uString * * pReason );
Check if a particular environment is currently valid, so that objects of that environment might be called.
void
uno_any_assign( uno_Any * pDest, void * pSource, _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire, uno_ReleaseFunc release );
Assign an any with a given value. Interfaces are acquired or released by the given callback functions.
void
uno_any_clear( uno_Any * pValue, uno_ReleaseFunc release );
Sets value to void.
void
uno_any_construct( uno_Any * pDest, void * pSource, _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire );
Constructs an any with a given value. Interfaces are acquired by the given callback function.
void
uno_any_constructAndConvert( uno_Any * pDest, void * pSource, _typelib_TypeDescription * pTypeDescr, _uno_Mapping * mapping );
Constructs an any with a given value and converts/ maps interfaces.
void
uno_any_destruct( uno_Any * pValue, uno_ReleaseFunc release );
Destructs an any.
sal_Bool
uno_assignData( void * pDest, _typelib_TypeDescription * pDestTypeDescr, void * pSource, _typelib_TypeDescription * pSourceTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release );
sal_Bool
uno_bindIdToCurrentThread( sal_Sequence * pThreadId );
void
uno_constructData( void * pMem, _typelib_TypeDescription * pTypeDescr );
Default constructs a value. All simple types are set to 0, enums are set to their default value.
void
uno_copyAndConvertData( void * pDest, void * pSource, _typelib_TypeDescription * pTypeDescr, _uno_Mapping * mapping );
Copy construct memory with given value. The size of the destination value must be larger or equal to the size of the source value. Interfaces are converted/ mapped by mapping parameter.
void
uno_copyData( void * pDest, void * pSource, _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire );
Copy construct memory with given value. The size of the destination value must be larger or equal to the size of the source value.
void
uno_createEnvironment( uno_Environment * * ppEnv, rtl_uString * pEnvDcp, void * pContext );
Creates an environment. The new environment is anonymous (NOT publicly registered/ accessible).
void
uno_destructData( void * pValue, _typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release );
Destructs a given value; does NOT free its memory!
void
uno_dumpEnvironment( void * stream, uno_Environment * pEnv, const sal_Char * pFilter );
Dumps out environment information, i.e. registered interfaces.
void
uno_dumpEnvironmentByName( void * stream, rtl_uString * pEnvDcp, const sal_Char * pFilter );
Dumps out environment information, i.e. registered interfaces.
sal_Bool
uno_equalData( void * pVal1, _typelib_TypeDescription * pVal1TypeDescr, void * pVal2, _typelib_TypeDescription * pVal2TypeDescr, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release );
Tests if two values are equal. May compare different types (e.g., short to long).
sal_Bool
uno_getCurrentContext( void * * ppCurrentContext, rtl_uString * pEnvDcp, void * pEnvContext );
Gets the current task's context.
void
uno_getCurrentEnvironment( uno_Environment * * ppEnv, rtl_uString * pTypeName );
void
uno_getEnvironment( uno_Environment * * ppEnv, rtl_uString * pEnvDcp, void * pContext );
Gets a specific environment. If the specified environment does not exist, then a default one is created and registered. The environment revokes itself on last release() call.
void
uno_getIdOfCurrentThread( sal_Sequence * * ppThreadId );
void
uno_getMapping( _uno_Mapping * * ppMapping, _uno_Environment * pFrom, _uno_Environment * pTo, rtl_uString * pAddPurpose );
Gets an interface mapping from one environment to another.
void
uno_getMappingByName( _uno_Mapping * * ppMapping, rtl_uString * pFrom, rtl_uString * pTo, rtl_uString * pAddPurpose );
Gets an interface mapping from one language environment to another by corresponding environment type names.
void
uno_getRegisteredEnvironments( uno_Environment * * * pppEnvs, sal_Int32 * pnLen, uno_memAlloc memAlloc, rtl_uString * pEnvDcp );
Gets all specified environments. Caller has to release returned environments and free allocated memory.
void
uno_registerMapping( _uno_Mapping * * ppMapping, uno_freeMappingFunc freeMapping, _uno_Environment * pFrom, _uno_Environment * pTo, rtl_uString * pAddPurpose );
Registers a mapping. A mapping registers itself on first acquire and revokes itself on last release. The given freeMapping function is called by the runtime to cleanup any resources.
void
uno_registerMappingCallback( uno_getMappingFunc pCallback );
Registers a callback being called each time a mapping is demanded.
void
uno_releaseIdFromCurrentThread( );
If the internal refcount drops to zero, the association betwen threadId and thread is broken.
void
uno_revokeMapping( _uno_Mapping * pMapping );
Revokes a mapping. A mapping registers itself on first acquire and revokes itself on last release.
void
uno_revokeMappingCallback( uno_getMappingFunc pCallback );
Revokes a mapping callback registration.
void
uno_sequence_assign( uno_Sequence * * ppDest, uno_Sequence * pSource, _typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release );
Assigns a sequence.
sal_Bool
uno_sequence_construct( uno_Sequence * * ppSequence, _typelib_TypeDescription * pTypeDescr, void * pElements, sal_Int32 len, uno_AcquireFunc acquire );
Constructs a new sequence with given elements.
sal_Bool
uno_sequence_realloc( uno_Sequence * * ppSequence, _typelib_TypeDescription * pTypeDescr, sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release );
Reallocates length of a sequence. This truncates a sequence or enlarges it default constructing appended elements.
sal_Bool
uno_sequence_reference2One( uno_Sequence * * ppSequence, _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire, uno_ReleaseFunc release );
sal_Bool
uno_setCurrentContext( void * pCurrentContext, rtl_uString * pEnvDcp, void * pEnvContext );
Sets the current task's context.
void
uno_threadpool_attach( uno_ThreadPool hPool );
uno_ThreadPool
uno_threadpool_create( );
Creates a threadpool handle. Typically each remote bridge instances creates one handle.
void
uno_threadpool_destroy( uno_ThreadPool hPool );
void
uno_threadpool_detach( uno_ThreadPool hPool );
Detaches the current thread from the threadpool. Must be called for every call to uno_threadpool_attach.
void
uno_threadpool_dispose( uno_ThreadPool hPool );
All threads, that are waiting on the hPool handle, are forced out of the pool. The threads waiting with uno_threadpool_enter() will return with *ppJob == 0
void
uno_threadpool_enter( uno_ThreadPool hPool, void * * ppJob );
This method is called to wait for a reply of a previously sent request. This is a blocking method. uno_threadpool_attach() must have been called before.
void
uno_type_any_assign( uno_Any * pDest, void * pSource, _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire, uno_ReleaseFunc release );
Assign an any with a given value. Interfaces are acquired or released by the given callback functions.
void
uno_type_any_construct( uno_Any * pDest, void * pSource, _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire );
Constructs an any with a given value. Interfaces are acquired by the given callback function.
void
uno_type_any_constructAndConvert( uno_Any * pDest, void * pSource, _typelib_TypeDescriptionReference * pType, _uno_Mapping * mapping );
Constructs an any with a given value and converts/ maps interfaces.
sal_Bool
uno_type_assignData( void * pDest, _typelib_TypeDescriptionReference * pDestType, void * pSource, _typelib_TypeDescriptionReference * pSourceType, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release );
void
uno_type_constructData( void * pMem, _typelib_TypeDescriptionReference * pType );
Default constructs a value. All simple types are set to 0, enums are set to their default value.
void
uno_type_copyAndConvertData( void * pDest, void * pSource, _typelib_TypeDescriptionReference * pType, _uno_Mapping * mapping );
Copy construct memory with given value. The size of the destination value must be larger or equal to the size of the source value. Interfaces are converted/ mapped by mapping parameter.
void
uno_type_copyData( void * pDest, void * pSource, _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire );
Copy construct memory with given value. The size of the destination value must be larger or equal to the size of the source value.
void
uno_type_destructData( void * pValue, _typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release );
Destructs a given value; does NOT free its memory!
sal_Bool
uno_type_equalData( void * pVal1, _typelib_TypeDescriptionReference * pVal1Type, void * pVal2, _typelib_TypeDescriptionReference * pVal2Type, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release );
Tests if two values are equal. May compare different types (e.g., short to long).
sal_Bool
uno_type_isAssignableFromData( _typelib_TypeDescriptionReference * pAssignable, void * pFrom, _typelib_TypeDescriptionReference * pFromType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release );
void
uno_type_sequence_assign( uno_Sequence * * ppDest, uno_Sequence * pSource, _typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release );
Assigns a sequence.
sal_Bool
uno_type_sequence_construct( uno_Sequence * * ppSequence, _typelib_TypeDescriptionReference * pType, void * pElements, sal_Int32 len, uno_AcquireFunc acquire );
Constructs a new sequence with given elements.
sal_Bool
uno_type_sequence_realloc( uno_Sequence * * ppSequence, _typelib_TypeDescriptionReference * pType, sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release );
Reallocates length of a sequence. This truncates a sequence or enlarges it default constructing appended elements.
sal_Bool
uno_type_sequence_reference2One( uno_Sequence * * ppSequence, _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire, uno_ReleaseFunc release );

Variables

typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_Sequence_Char;

Top of Page

Logo ApacheCon Europe 2014

Apache Feather

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.