Overview | Namespace | Class | Index | Help |
NESTED NAMESPACES | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | FUNCTIONS | CONSTANTS | VARIABLES |
Global Namespace in C++
Nested Namespaces |
|
com | |
cppu | |
osl | |
rtl | |
store |
Classes |
|
Array | |
JavaVMContext | |
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 of a struct or exception. |
_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_InterfaceMemberTypeDescription 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_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 | |
remote_Context | ** * |
remote_DisposingListener | |
remote_InstanceProvider | |
remote_Interface | |
remote_Mapping | |
s_Anonymous__15 | |
s_Anonymous__20 | |
s_Anonymous__22 | |
uno_Context |
Unions |
|
RTConstValueUnion | specifies a variable container for field values. |
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__1 | |
e_Anonymous__10 | |
e_Anonymous__11 | |
e_Anonymous__12 | |
e_Anonymous__13 | |
e_Anonymous__14 | |
e_Anonymous__16 | @name Main goals and usage hints |
e_Anonymous__17 | |
e_Anonymous__18 | |
e_Anonymous__19 | |
e_Anonymous__2 | |
e_Anonymous__21 | |
e_Anonymous__23 | Various predefined URI 'char classes.' |
e_Anonymous__24 | The mechanism describing how escape sequences in the input of rtl_uriEncode() are handled. |
e_Anonymous__25 | The mechanism describing how rtl_uriDecode() translates (part of) a URI into a Unicode string. |
e_Anonymous__3 | |
e_Anonymous__4 | |
e_Anonymous__5 | |
e_Anonymous__6 | |
e_Anonymous__7 | |
e_Anonymous__8 | |
e_Anonymous__9 |
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( 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 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 ); |
Abbreviates 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 ); |
Increases 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 ); |
|
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 ); |
|
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 ); |
Releases a directory handle |
oslFileError osl_closeFile( oslFileHandle Handle ); |
Closes an open file. |
void osl_closePipe( oslPipe ); |
closes the pipe, any read,write or accept actions stop immeadiatly. |
sal_Bool osl_closeProfile( oslProfile Profile ); |
Close the opened profile an flush all data to the disk. |
void osl_closeSocket( oslSocket Socket ); |
|
oslSocketResult osl_connectSocketTo( oslSocket Socket, oslSocketAddr Addr, const TimeValue * pTimeout ); |
Connects the socket to the given address. |
oslFileError osl_copyFile( rtl_uString * strPath, rtl_uString * strDestPath ); |
Copies a file to a new destination. Copies only files not directories. No assumptions should be made about preserving attributes or file time. |
oslHostAddr osl_copyHostAddr( const oslHostAddr Addr ); |
Create a copy of the given Addr. |
oslSocketAddr osl_copySocketAddr( oslSocketAddr Addr ); |
Create a new SocketAddress and fill it from Addr. |
oslCondition osl_createCondition( void ); |
|
oslFileError osl_createDirectory( rtl_uString * strPath ); |
Creates a directory. |
oslSocketAddr osl_createEmptySocketAddr( oslAddrFamily 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 ); |
|
oslSocketAddr osl_createIpxSocketAddr( rtl_uString * strNetNumber, rtl_uString * strNodeNumber, sal_uInt32 SocketNumber ); |
Create an IPX address. |
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( ); |
Creates a set of sockets to be used with osl_demultiplexSocketEvents(). |
oslThread osl_createSuspendedThread( oslWorkerFunction pWorker, void * pThreadData ); |
|
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 ); |
Free all memory allocated by Addr. |
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 ); |
Free all memory allocated by pAddress. |
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 * strImageName, rtl_uString * strArguments, sal_uInt32 nArguments, oslProcessOption Options, oslSecurity Security, rtl_uString * strWorkDir, rtl_uString * strEnvironment, sal_uInt32 nEnvironmentVars, oslProcess * pProcess ); |
Execute a process. |
oslProcessError osl_executeProcess_WithRedirectedIO( rtl_uString * strImageName, rtl_uString * strArguments, sal_uInt32 nArguments, oslProcessOption Options, oslSecurity Security, rtl_uString * strWorkDir, rtl_uString * strEnvironment, sal_uInt32 nEnvironmentVars, oslProcess * pProcess, oslFileHandle * pChildInputWrite, oslFileHandle * pChildOutputRead, oslFileHandle * pChildErrorRead ); |
Execute a process and redirected child process standard IO |
sal_Bool osl_flushProfile( oslProfile Profile ); |
|
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 * strDirBase, rtl_uString * strRelative, rtl_uString * * strAbsolute ); |
Converts a path relative to a given directory into an full qualified UNC path. |
oslSocketResult osl_getAddrOfSocketAddr( oslSocketAddr Addr, sal_Sequence * * ppByteSeq ); |
Returns the addr field in the struct sockaddr. ppByteSeq is in network byteorder. *ppByteSeq may either be 0 or contain a constructed sal_Sequence. |
oslFileError osl_getCanonicalName( rtl_uString * strRequested, rtl_uString * * strValid ); |
|
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( ); |
|
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 * strFilePath, oslDirectoryItem * pItem ); |
Retrieves a single directory item handle with an initial refcount of 1. |
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 ); |
Retrieves the current position of the internal pointer of an open file. |
oslFileError osl_getFileStatus( oslDirectoryItem Item, oslFileStatus * pStatus, sal_uInt32 uFieldMask ); |
Retrieves information about a single file or directory |
oslFileError osl_getFileURLFromSystemPath( rtl_uString * ustrSystemPath, rtl_uString * * pustrFileURL ); |
Converts a system dependend path into a FileURL |
oslMutex * osl_getGlobalMutex( ); |
Returns a unique and global mutex. |
sal_uInt32 osl_getGlobalTimer( ); |
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 ); |
Gets the hostname represented by Addr. |
sal_Int32 osl_getInetPortOfSocketAddr( oslSocketAddr Addr ); |
Retrieves the internet port-number of Addr. |
oslSocketResult osl_getIpxNetNumber( oslSocketAddr Addr, oslSocketIpxNetNumber NetNumber ); |
Gets the IPX Net-Number of the address. |
oslSocketResult osl_getIpxNodeNumber( oslSocketAddr Addr, oslSocketIpxNodeNumber NodeNumber ); |
Gets the IPX Node-Number of the address. |
sal_Int32 osl_getIpxSocketNumber( oslSocketAddr Addr ); |
Gets the IPX Socket-Number of the address. |
oslPipeError osl_getLastPipeError( oslPipe Pipe ); |
|
oslSocketError osl_getLastSocketError( oslSocket Socket ); |
Delivers a constant decribing the last error for the socket system. |
void osl_getLastSocketErrorDescription( oslSocket Socket, rtl_uString * * strError ); |
Delivers 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 |
oslFileError osl_getNextDirectoryItem( oslDirectory Directory, oslDirectoryItem * pItem, sal_uInt32 uHint ); |
Retrieves the next item(s) of a previously openend directory. All handles have an initial refcount of 1. |
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 ); |
Get all entries belonging to the specified section. |
sal_uInt32 osl_getProfileSections( oslProfile Profile, sal_Char * pszBuffer, sal_uInt32 MaxLen ); |
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 symbolname. @returns address of the symbol or 0 if lookup failed, |
oslFileError osl_getSystemPathFromFileURL( rtl_uString * ustrFileURL, rtl_uString * * pustrSystemPath ); |
Converts a file URL in 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 |
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( ); |
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 * * pstrPath ); |
Gets the normalized absolute file system path where a device is mounted to. |
oslFileError osl_getVolumeInformation( rtl_uString * strDirectory, oslVolumeInfo * pInfo, sal_uInt32 uFieldMask ); |
|
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 ); |
Tests if the end of a file is reached. |
sal_Bool osl_isEqualSocketAddr( oslSocketAddr Addr1, oslSocketAddr Addr2 ); |
Compare to SocketAddress. |
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 ); |
|
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. |
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 module.<BR> |
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 * strPath, rtl_uString * strDestPath ); |
Moves a file or directory to a new destination or renames it. File time and attributes are preserved. |
oslFileError osl_openDirectory( rtl_uString * strDirectoryPath, oslDirectory * pDirectory ); |
Opens a directory for enumerating its contents. |
oslFileError osl_openFile( rtl_uString * strPath, oslFileHandle * pHandle, sal_uInt32 uFlags ); |
Opens a file. |
oslProfile osl_openProfile( rtl_uString * strProfileName, oslProfileOption Options ); |
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 ); |
Reads a number of bytes from a file. The internal file pointer is increased by the number of bytes read. |
oslFileError osl_readLine( oslFileHandle Handle, sal_Sequence * * ppSequence ); |
Reads a line from given file. The new line delemeter(s) are NOT returned! |
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 ); |
|
sal_uInt32 osl_readProfileIdent( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_uInt32 FirstId, const sal_Char * Strings, sal_uInt32 Default ); |
|
sal_Bool osl_readProfileString( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_Char * pszString, sal_uInt32 MaxLen, const sal_Char * pszDefault ); |
|
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 ); |
Decreases the refcount of a directory item handle and releases the data if the refcount reaches 0. |
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 ); |
|
oslFileError osl_removeDirectory( rtl_uString * strPath ); |
Removes an empty directory. |
oslFileError osl_removeFile( rtl_uString * strPath ); |
Removes (erases) 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 ); |
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 * ustrFileName, rtl_uString * ustrSearchPath, rtl_uString * * pustrFileURL ); |
Searches a full qualified UNC-Path/File |
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. |
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 ); |
|
oslFileError osl_setFileAttributes( rtl_uString * filePath, sal_uInt64 uAttributes ); |
Sets file-attributes |
oslFileError osl_setFilePos( oslFileHandle Handle, sal_uInt32 uHow, sal_Int64 uPos ); |
Sets the internal position pointer of an open file. |
oslFileError osl_setFileSize( oslFileHandle Handle, sal_uInt64 uSize ); |
Sets the file size of an open file. The file can be truncated or enlarged by the function. The position of the file pointer is not affeced by this function. |
oslFileError osl_setFileTime( rtl_uString * filePath, TimeValue * aCreationTime, TimeValue * aLastAccessTime, TimeValue * aLastWriteTime ); |
Sets 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! |
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 ); |
|
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 ); |
Writes a number of bytes to a file. The internal file pointer is increased by the number of bytes read. |
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 ); |
|
sal_Bool osl_writeProfileIdent( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, sal_uInt32 FirstId, const sal_Char * Strings, sal_uInt32 Value ); |
|
sal_Bool osl_writeProfileString( oslProfile Profile, const sal_Char * pszSection, const sal_Char * pszEntry, const sal_Char * pszString ); |
|
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. |
sal_Int32 rtl_addUnloadingListener( rtl_unloadingListenerFunc callback, void * _this ); |
|
void * rtl_allocateMemory( sal_uInt32 Bytes ); |
Allocate memory. |
void * rtl_allocateZeroMemory( sal_uInt32 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. |
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_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_createBF( rtlCipherMode Mode ); |
Create a Blowfish cipher handle for the given mode. |
rtlCipherError rtl_cipher_decode( rtlCipher Cipher, const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen ); |
Decode a buffer under a given cipher algorithm. |
rtlCipherError rtl_cipher_decodeBF( rtlCipher Cipher, const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen ); |
Decode a buffer under the Blowfish cipher algorithm. |
void rtl_cipher_destroy( rtlCipher Cipher ); |
Destroy a cipher handle. |
void rtl_cipher_destroyBF( rtlCipher Cipher ); |
Destroy a Blowfish cipher handle. |
rtlCipherError rtl_cipher_encode( rtlCipher Cipher, const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen ); |
Encode a buffer under a given cipher algorithm. |
rtlCipherError rtl_cipher_encodeBF( rtlCipher Cipher, const void * pData, sal_uInt32 nDatLen, sal_uInt8 * pBuffer, sal_uInt32 nBufLen ); |
Encode a buffer under the Blowfish cipher algorithm. |
rtlCipherError rtl_cipher_init( rtlCipher Cipher, rtlCipherDirection Direction, const sal_uInt8 * pKeyData, sal_uInt32 nKeyLen, const sal_uInt8 * pArgData, sal_uInt32 nArgLen ); |
Inititialize a cipher for the given direction. |
rtlCipherError rtl_cipher_initBF( rtlCipher Cipher, rtlCipherDirection Direction, const sal_uInt8 * pKeyData, sal_uInt32 nKeyLen, const sal_uInt8 * pArgData, sal_uInt32 nArgLen ); |
Inititialize a Blowfish cipher for the given direction. |
sal_Int32 rtl_compareMemory( const void * MemA, const void * MemB, sal_uInt32 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_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_uInt32 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. |
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_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_uInt32 Bytes, sal_uInt8 Fill ); |
|
void * rtl_findInMemory( const void * MemA, sal_uInt8 ch, sal_uInt32 Bytes ); |
|
void rtl_freeMemory( void * Ptr ); |
Free memory. |
void rtl_freeZeroMemory( void * Ptr, sal_uInt32 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. |
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. |
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_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, an lowercased two-letter ISO-639 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 ); |
|
void rtl_logfile_trace( const sal_Char * pszFormat, ... ); |
This function allows to log arbitrary messages even in a product-environment. |
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_uInt32 Bytes ); |
|
rtlRandomError rtl_random_addBytes( rtlRandomPool Pool, const void * Buffer, sal_uInt32 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_uInt32 Bytes ); |
Retrieve bytes from a Random Pool. |
void * rtl_reallocateMemory( void * Ptr, sal_uInt32 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 index ); |
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 index, 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 index ); |
Create a new string by extracting a single token from another string. |
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_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 index, 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_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 ); |
|
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_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_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_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_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_uInt32 Bytes ); |
|
int sal_main( ); |
|
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_sequence_type_init( typelib_TypeDescriptionReference * * ppRef, typelib_TypeDescriptionReference * pElementType ); |
Inits static sequence type reference. Thread synchronizes on typelib init mutex. |
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_static_union_type_init( typelib_TypeDescriptionReference * * ppRef, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pDiscriminantType, sal_Int64 nDefaultDiscriminant, typelib_TypeDescriptionReference * pDefaultType, sal_Int32 nMembers, sal_Int64 * pDiscriminants, typelib_TypeDescriptionReference * * pMemberTypes ); |
|
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_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_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 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 * pEnvTypeName, 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 * pEnvTypeName, 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 * pEnvTypeName, void * pEnvContext ); |
Gets the current task's context. |
void uno_getEnvironment( uno_Environment * * ppEnv, rtl_uString * pEnvTypeName, 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 * pEnvTypeName ); |
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 ); |
Assign a sequence. |
void uno_sequence_construct( uno_Sequence * * ppSequence, _typelib_TypeDescription * pTypeDescr, void * pElements, sal_Int32 len, uno_AcquireFunc acquire ); |
Constructs a new sequence with given elements. |
void 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. |
void uno_sequence_reference2One( uno_Sequence * * ppSequence, _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire, uno_ReleaseFunc release ); |
Assures that the reference count of the given sequence is one. Otherwise a new copy of the sequence is created with a reference count of one. |
sal_Bool uno_setCurrentContext( void * pCurrentContext, rtl_uString * pEnvTypeName, 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). |
void uno_type_sequence_assign( uno_Sequence * * ppDest, uno_Sequence * pSource, _typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release ); |
Assign a sequence. |
void 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. |
void 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. |
void uno_type_sequence_reference2One( uno_Sequence * * ppSequence, _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire, uno_ReleaseFunc release ); |
Assures that the reference count of the given sequence is one. Otherwise a new copy of the sequence is created with a reference count of one. |
Constants |
|
const sal_Int32 REMOTE_CONTEXT_CREATE; | |
const sal_Int32 REMOTE_CONTEXT_DESTROY; |
Variables |
|
typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_Sequence_Char; |
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.