Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11
 Overview   Namespace   Class   Index   Help 

Global Functions in Global Namespace C++
in Sourcefile profile.h


osl_closeProfile
extern "C"
sal_Bool osl_closeProfile(
oslProfile Profile );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Close the opened profile an flush all data to the disk.
Parameters
Profile
handle to a opened profile.

osl_flushProfile
extern "C"
sal_Bool osl_flushProfile(
oslProfile Profile );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


osl_getProfileSectionEntries
extern "C"
sal_uInt32 osl_getProfileSectionEntries(
oslProfile Profile,
const sal_Char * pszSection,
sal_Char * pszBuffer,
sal_uInt32 MaxLen );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Get all entries belonging to the specified section.
Parameters
Profile
handle to a opened profile.
Return
Pointer to a array of pointers.

osl_getProfileSections
extern "C"
sal_uInt32 osl_getProfileSections(
oslProfile Profile,
sal_Char * pszBuffer,
sal_uInt32 MaxLen );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Get all section entries
Parameters
Profile
handle to a opened profile.
Return
Pointer to a array of pointers.

osl_openProfile
extern "C"
oslProfile osl_openProfile(
rtl_uString * strProfileName,
oslProfileOption Options );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Open or create a configuration profile.
Return
0 if the profile could not be created, otherwise a handle to the profile.

osl_readProfileBool
extern "C"
sal_Bool osl_readProfileBool(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry,
sal_Bool Default );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


osl_readProfileIdent
extern "C"
sal_uInt32 osl_readProfileIdent(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry,
sal_uInt32 FirstId,
const sal_Char * Strings,
sal_uInt32 Default );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


osl_readProfileString
extern "C"
sal_Bool osl_readProfileString(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry,
sal_Char * pszString,
sal_uInt32 MaxLen,
const sal_Char * pszDefault );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


osl_removeProfileEntry
extern "C"
sal_Bool osl_removeProfileEntry(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Acquire the mutex, block if already acquired by another thread.
Parameters
Profile
handle to a opened profile.
Return
False if section or entry could not be found.

osl_writeProfileBool
extern "C"
sal_Bool osl_writeProfileBool(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry,
sal_Bool Value );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


osl_writeProfileIdent
extern "C"
sal_Bool osl_writeProfileIdent(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry,
sal_uInt32 FirstId,
const sal_Char * Strings,
sal_uInt32 Value );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


osl_writeProfileString
extern "C"
sal_Bool osl_writeProfileString(
oslProfile Profile,
const sal_Char * pszSection,
const sal_Char * pszEntry,
const sal_Char * pszString );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES


Top of Page

Apache Software Foundation

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

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