22 #ifndef UTILS_VIRTFSZIP_H
23 #define UTILS_VIRTFSZIP_H
53 const std::string &dirName,
63 std::string filename);
65 const std::string &filename);
67 const std::string &filename);
72 std::string &realDir);
75 const uint32_t objSize,
76 const uint32_t objCount);
79 const uint32_t objSize,
80 const uint32_t objCount);
File * openWrite(FsEntry *const entry, const std::string &filename)
File * openReadInternal(const std::string &filename)
bool isDirectory(FsEntry *const entry, std::string dirName, bool &isDirFlag)
void getDirs(FsEntry *const entry, std::string dirName, StringVect &names)
void enumerate(FsEntry *const entry, std::string dirName, StringVect &names)
void getFiles(FsEntry *const entry, std::string dirName, StringVect &names)
const char * loadFile(FsEntry *const entry, std::string filename, int &fileSize)
bool getRealDir(FsEntry *const entry, std::string filename, std::string dirName, std::string &realDir)
int seek(File *const file, const uint64_t pos)
File * openAppend(FsEntry *const entry, const std::string &filename)
int64_t tell(File *const file)
void getFilesWithDir(FsEntry *const entry, const std::string &dirName, StringVect &names)
bool exists(FsEntry *const entry, std::string filename, std::string dirName)
int64_t read(File *const file, void *const buffer, const uint32_t objSize, const uint32_t objCount)
int64_t write(File *const file, const void *const buffer, const uint32_t objSize, const uint32_t objCount)
void initFuncs(FsFuncs *const ptr)
int eof(File *const file)
void freeList(List *const handle)
int64_t fileLength(File *const file)
File * openRead(FsEntry *const entry, std::string filename)
int close(File *const file)
std::vector< std::string > StringVect