Skip to content

start:


Global Namespace in C++



Nested Namespaces

com
cppu
namespace_anonymous_1
osl
rtl
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.
RegistryLoader The RegistryLoader provides a load on call mechanism for the registry library.
RegistryTypeReader RegistryTypeReades reads a binary type blob.
RegistryTypeReaderLoader The RegistryTypeReaderLoader provides a load on call mechanism for the library used for the registry type reader api.
RegistryTypeWriter RegistryTypeWriter writes/creates a binary type blob.
RegistryTypeWriterLoader The RegistryTypeWriterLoader provides a load on call mechanism for the library used for the registry type writer api.
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
_oslModule
_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.
remote_Connection Specfies a C-interface for a bidirectional bytestream, which is used by a UNO remote environment.
remote_Context The context structure for a remote bridge.
remote_DisposingListener refcounted C-interface, which allows to register a listener to an remote bridge to be informed when the bridge gets disposed.
remote_InstanceProvider refcounted C-interface, which provides object by name.
remote_Interface The base class of an UNO interface in a remote environment.
s_Anonymous__13
s_Anonymous__17
s_Anonymous__28
uno_Context Interface for refcounted contexts of uno-environments.

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_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_Environment
uno_ExtEnvironment Function to release an interface.
uno_Interface
uno_Mapping
uno_Sequence
uno_ThreadPool

Functions

const ::com::sun::star::uno::Type &
getBooleanCppuType( ) throw( );
const ::com::sun::star::uno::Type &
getCharCppuType( ) throw( );
const ::com::sun::star::uno::Type &
getCharSequenceCppuType( ) throw( );
const ::com::sun::star::uno::Type &
getCppuArrayType1( T * pT ) throw( );
const ::com::sun::star::uno::Type &
getCppuArrayType2( T * pT ) throw( );
const ::com::sun::star::uno::Type &
getCppuArrayType3( T * pT ) throw( );
const ::com::sun::star::uno::Type &
getCppuArrayType4( T * pT ) throw( );
const ::com::sun::star::uno::Type &
getCppuArrayType5( T * pT ) throw( );
const ::com::sun::star::uno::Type &
getCppuArrayType6( T * pT ) throw( );
const ::com::sun::star::uno::Type &
getCppuBooleanType( ) throw( );
const ::com::sun::star::uno::Type &
getCppuCharType( ) throw( );
const ::com::sun::star::uno::Type &
getCppuSequenceType( const ::com::sun::star::uno::Type & rElementType ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const ::com::sun::star::uno::Type * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_Bool * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const bool * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int8 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const ::rtl::OUString * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int16 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_uInt16 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int32 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_uInt32 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_Int64 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const sal_uInt64 * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const float * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const double * ) throw( );
const ::com::sun::star::uno::Type &
getCppuType( const ::com::sun::star::uno::Sequence< E > * ) throw( );
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( );
const ::com::sun::star::uno::Type &
getVoidCppuType( ) throw( );
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.
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.
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_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.
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_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_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 );
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 );
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_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_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.
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 creates a link with the specified link name and link target.
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 deletes a link with the specified linkname.
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.
const 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 returns 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.
const 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 all or only the first link of 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.
void
remote_addContextListener( remote_contextListenerFunc listener, void * pObject );
Registers a listener at the context administration, which allows to keep track of existing remote connections.
remote_Context *
remote_createContext( remote_Connection * pConnection, rtl_uString * pIdStr, rtl_uString * pDescription, rtl_uString * pProtocol, remote_InstanceProvider * );
Create an acquired remote context. The Context is weakly held by the context administration and can be accessed later through remote_getContext() (using the same id-string).
remote_Context *
remote_getContext( rtl_uString * pIdString );
void
remote_removeContextListener( remote_contextListenerFunc listener, void * pObject );
Removes a listener from the context administration.
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_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_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.
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_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 );
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.
rtl