Go to the source code of this file.
|
SAL_DLLPUBLIC oslProfile | osl_openProfile (rtl_uString *strProfileName, oslProfileOption Options) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_closeProfile (oslProfile Profile) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_flushProfile (oslProfile Profile) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_readProfileString (oslProfile Profile, const char *pszSection, const char *pszEntry, char *pszString, sal_uInt32 MaxLen, const char *pszDefault) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_readProfileBool (oslProfile Profile, const char *pszSection, const char *pszEntry, sal_Bool Default) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_uInt32 | osl_readProfileIdent (oslProfile Profile, const char *pszSection, const char *pszEntry, sal_uInt32 FirstId, const char *Strings[], sal_uInt32 Default) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_writeProfileString (oslProfile Profile, const char *pszSection, const char *pszEntry, const char *pszString) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_writeProfileBool (oslProfile Profile, const char *pszSection, const char *pszEntry, sal_Bool Value) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_writeProfileIdent (oslProfile Profile, const char *pszSection, const char *pszEntry, sal_uInt32 FirstId, const char *Strings[], sal_uInt32 Value) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_Bool | osl_removeProfileEntry (oslProfile Profile, const char *pszSection, const char *pszEntry) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_uInt32 | osl_getProfileSectionEntries (oslProfile Profile, const char *pszSection, char *pszBuffer, sal_uInt32 MaxLen) SAL_COLD |
| Deprecated API. More...
|
|
SAL_DLLPUBLIC sal_uInt32 | osl_getProfileSections (oslProfile Profile, char *pszBuffer, sal_uInt32 MaxLen) SAL_COLD |
| Deprecated API. More...
|
|
◆ osl_Profile_DEFAULT
#define osl_Profile_DEFAULT 0x0000 |
◆ osl_Profile_FLUSHWRITE
#define osl_Profile_FLUSHWRITE 0x0010 /* writing only with flush */ |
◆ osl_Profile_READLOCK
#define osl_Profile_READLOCK 0x0002 /* lock file for reading */ |
◆ osl_Profile_SYSTEM
#define osl_Profile_SYSTEM 0x0001 /* use system depended functionality */ |
◆ osl_Profile_WRITELOCK
#define osl_Profile_WRITELOCK 0x0004 /* lock file for writing */ |
◆ oslProfile
◆ oslProfileOption
◆ osl_closeProfile()
Deprecated API.
Close the opened profile an flush all data to the disk.
- Parameters
-
Profile | handle to an opened profile. |
- Deprecated:
◆ osl_flushProfile()
◆ osl_getProfileSectionEntries()
SAL_DLLPUBLIC sal_uInt32 osl_getProfileSectionEntries |
( |
oslProfile |
Profile, |
|
|
const char * |
pszSection, |
|
|
char * |
pszBuffer, |
|
|
sal_uInt32 |
MaxLen |
|
) |
| |
Deprecated API.
Get all entries belonging to the specified section.
- Returns
- Pointer to an array of pointers.
- Deprecated:
◆ osl_getProfileSections()
Deprecated API.
Get all section entries
- Return values
-
Pointer | to an array of pointers. |
- Deprecated:
◆ osl_openProfile()
Deprecated API.
Open or create a configuration profile.
- Return values
-
0 | if the profile could not be created, otherwise a handle to the profile. |
- Deprecated:
◆ osl_readProfileBool()
◆ osl_readProfileIdent()
SAL_DLLPUBLIC sal_uInt32 osl_readProfileIdent |
( |
oslProfile |
Profile, |
|
|
const char * |
pszSection, |
|
|
const char * |
pszEntry, |
|
|
sal_uInt32 |
FirstId, |
|
|
const char * |
Strings[], |
|
|
sal_uInt32 |
Default |
|
) |
| |
◆ osl_readProfileString()
SAL_DLLPUBLIC sal_Bool osl_readProfileString |
( |
oslProfile |
Profile, |
|
|
const char * |
pszSection, |
|
|
const char * |
pszEntry, |
|
|
char * |
pszString, |
|
|
sal_uInt32 |
MaxLen, |
|
|
const char * |
pszDefault |
|
) |
| |
◆ osl_removeProfileEntry()
Deprecated API.
Acquire the mutex, block if already acquired by another thread.
- Return values
-
False | if section or entry could not be found. |
- Deprecated:
◆ osl_writeProfileBool()
◆ osl_writeProfileIdent()
SAL_DLLPUBLIC sal_Bool osl_writeProfileIdent |
( |
oslProfile |
Profile, |
|
|
const char * |
pszSection, |
|
|
const char * |
pszEntry, |
|
|
sal_uInt32 |
FirstId, |
|
|
const char * |
Strings[], |
|
|
sal_uInt32 |
Value |
|
) |
| |
◆ osl_writeProfileString()