LibreOffice Module tools (master) 1
|
#include <cstddef>
#include <cstdlib>
#include <string.h>
#include <osl/file.hxx>
#include <tools/config.hxx>
#include <sal/log.hxx>
Go to the source code of this file.
Classes | |
struct | ImplGroupData |
struct | ImplConfigData |
Functions | |
static OUString | toUncPath (const OUString &rPath) |
static sal_uInt32 | ImplSysGetConfigTimeStamp (const OUString &rFileName) |
static std::unique_ptr< sal_uInt8[]> | ImplSysReadConfig (const OUString &rFileName, sal_uInt64 &rRead, bool &rbRead, bool &rbIsUTF8BOM, sal_uInt32 &rTimeStamp) |
static bool | ImplSysWriteConfig (const OUString &rFileName, const sal_uInt8 *pBuf, sal_uInt32 nBufLen, bool rbIsUTF8BOM, sal_uInt32 &rTimeStamp) |
static void | ImplMakeConfigList (ImplConfigData *pData, const sal_uInt8 *pBuf, sal_uInt64 nLen) |
static std::unique_ptr< sal_uInt8[]> | ImplGetConfigBuffer (const ImplConfigData *pData, sal_uInt32 &rLen) |
static void | ImplReadConfig (ImplConfigData *pData) |
static void | ImplWriteConfig (ImplConfigData *pData) |
static void | ImplDeleteConfigData (ImplConfigData *pData) |
static std::unique_ptr< ImplConfigData > | ImplGetConfigData (const OUString &rFileName) |
|
static |
Definition at line 530 of file config.cxx.
References ImplGroupData::mpFirstKey, ImplGroupData::mpNext, and pData.
Referenced by Config::ImplUpdateConfig(), and Config::~Config().
|
static |
Definition at line 361 of file config.cxx.
References ImplGroupData::maGroupName, ImplGroupData::mnEmptyLines, ImplGroupData::mpFirstKey, ImplGroupData::mpNext, and pData.
Referenced by ImplWriteConfig().
|
static |
Definition at line 557 of file config.cxx.
References ImplReadConfig(), and pData.
Referenced by Config::Config().
|
static |
Definition at line 194 of file config.cxx.
References i, ImplGroupData::maGroupName, ImplGroupData::mnEmptyLines, ImplGroupData::mpFirstKey, ImplGroupData::mpNext, and pData.
Referenced by ImplReadConfig().
|
static |
Definition at line 491 of file config.cxx.
References ImplMakeConfigList(), ImplSysReadConfig(), and pData.
Referenced by ImplGetConfigData(), and Config::ImplUpdateConfig().
|
static |
Definition at line 79 of file config.cxx.
Referenced by ImplSysReadConfig(), ImplSysWriteConfig(), Config::ImplUpdateConfig(), and ImplWriteConfig().
|
static |
Definition at line 94 of file config.cxx.
References ImplSysGetConfigTimeStamp(), and nPos.
Referenced by ImplReadConfig().
|
static |
Definition at line 137 of file config.cxx.
References ImplSysGetConfigTimeStamp().
Referenced by ImplWriteConfig().
|
static |
Definition at line 513 of file config.cxx.
References ImplGetConfigBuffer(), ImplSysGetConfigTimeStamp(), ImplSysWriteConfig(), pData, and SAL_WARN_IF.
Referenced by Config::Flush().
|
static |
Definition at line 63 of file config.cxx.
Referenced by Config::Config().