|
| CStorage () |
|
int | Init (int StorageType, int NumArgs, const char **ppArguments) |
|
void | LoadPaths (const char *pArgv0) |
|
void | AddDefaultPaths () |
|
void | AddPath (const char *pPath) |
|
void | FindDatadir (const char *pArgv0) |
|
void | FindBinarydir (const char *pArgv0) |
|
int | NumPaths () const override |
|
void | ListDirectoryInfo (int Type, const char *pPath, FS_LISTDIR_CALLBACK_FILEINFO pfnCallback, void *pUser) override |
|
void | ListDirectory (int Type, const char *pPath, FS_LISTDIR_CALLBACK pfnCallback, void *pUser) override |
|
const char * | GetPath (int Type, const char *pDir, char *pBuffer, unsigned BufferSize) |
|
void | TranslateType (int &Type, const char *pPath) |
|
IOHANDLE | OpenFile (const char *pFilename, int Flags, int Type, char *pBuffer=0, int BufferSize=0) override |
|
template<typename F > |
bool | GenericExists (const char *pFilename, int Type, F &&CheckFunction) |
|
bool | FileExists (const char *pFilename, int Type) override |
|
bool | FolderExists (const char *pFilename, int Type) override |
|
bool | ReadFile (const char *pFilename, int Type, void **ppResult, unsigned *pResultLen) override |
|
char * | ReadFileStr (const char *pFilename, int Type) override |
|
bool | RetrieveTimes (const char *pFilename, int Type, time_t *pCreated, time_t *pModified) override |
|
bool | CalculateHashes (const char *pFilename, int Type, SHA256_DIGEST *pSha256, unsigned *pCrc) override |
|
bool | FindFile (const char *pFilename, const char *pPath, int Type, char *pBuffer, int BufferSize) override |
|
size_t | FindFiles (const char *pFilename, const char *pPath, int Type, std::set< std::string > *pEntries) override |
|
bool | RemoveFile (const char *pFilename, int Type) override |
|
bool | RemoveFolder (const char *pFilename, int Type) override |
|
bool | RemoveBinaryFile (const char *pFilename) override |
|
bool | RenameFile (const char *pOldFilename, const char *pNewFilename, int Type) override |
|
bool | RenameBinaryFile (const char *pOldFilename, const char *pNewFilename) override |
|
bool | CreateFolder (const char *pFoldername, int Type) override |
|
void | GetCompletePath (int Type, const char *pDir, char *pBuffer, unsigned BufferSize) override |
|
const char * | GetBinaryPath (const char *pFilename, char *pBuffer, unsigned BufferSize) override |
|
const char * | GetBinaryPathAbsolute (const char *pFilename, char *pBuffer, unsigned BufferSize) override |
|
virtual int | NumPaths () const =0 |
|
virtual void | ListDirectory (int Type, const char *pPath, FS_LISTDIR_CALLBACK pfnCallback, void *pUser)=0 |
|
virtual void | ListDirectoryInfo (int Type, const char *pPath, FS_LISTDIR_CALLBACK_FILEINFO pfnCallback, void *pUser)=0 |
|
virtual IOHANDLE | OpenFile (const char *pFilename, int Flags, int Type, char *pBuffer=nullptr, int BufferSize=0)=0 |
|
virtual bool | FileExists (const char *pFilename, int Type)=0 |
|
virtual bool | FolderExists (const char *pFilename, int Type)=0 |
|
virtual bool | ReadFile (const char *pFilename, int Type, void **ppResult, unsigned *pResultLen)=0 |
|
virtual char * | ReadFileStr (const char *pFilename, int Type)=0 |
|
virtual bool | RetrieveTimes (const char *pFilename, int Type, time_t *pCreated, time_t *pModified)=0 |
|
virtual bool | CalculateHashes (const char *pFilename, int Type, SHA256_DIGEST *pSha256, unsigned *pCrc=nullptr)=0 |
|
virtual bool | FindFile (const char *pFilename, const char *pPath, int Type, char *pBuffer, int BufferSize)=0 |
|
virtual size_t | FindFiles (const char *pFilename, const char *pPath, int Type, std::set< std::string > *pEntries)=0 |
|
virtual bool | RemoveFile (const char *pFilename, int Type)=0 |
|
virtual bool | RemoveFolder (const char *pFilename, int Type)=0 |
|
virtual bool | RenameFile (const char *pOldFilename, const char *pNewFilename, int Type)=0 |
|
virtual bool | CreateFolder (const char *pFoldername, int Type)=0 |
|
virtual void | GetCompletePath (int Type, const char *pDir, char *pBuffer, unsigned BufferSize)=0 |
|
virtual bool | RemoveBinaryFile (const char *pFilename)=0 |
|
virtual bool | RenameBinaryFile (const char *pOldFilename, const char *pNewFilename)=0 |
|
virtual const char * | GetBinaryPath (const char *pFilename, char *pBuffer, unsigned BufferSize)=0 |
|
virtual const char * | GetBinaryPathAbsolute (const char *pFilename, char *pBuffer, unsigned BufferSize)=0 |
|
| IInterface () |
|
virtual void | Shutdown () |
|
virtual | ~IInterface () |
|