diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-05 02:13:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-05 02:13:49 +0300 |
commit | aa549268c57e8dd7478693b160b7aadb35ff2e09 (patch) | |
tree | faa03b537f989a8e13ee8302aa402053fdafb4ec /src/fs/virtfs/virtfszip.h | |
parent | b66361dc7e3d831c3f3d27eca30a675b18b2d73b (diff) | |
download | manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.tar.gz manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.tar.bz2 manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.tar.xz manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.zip |
Rename virtfsentry into fsentry.
Diffstat (limited to 'src/fs/virtfs/virtfszip.h')
-rw-r--r-- | src/fs/virtfs/virtfszip.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fs/virtfs/virtfszip.h b/src/fs/virtfs/virtfszip.h index fbae5a54e..bcf7a3697 100644 --- a/src/fs/virtfs/virtfszip.h +++ b/src/fs/virtfs/virtfszip.h @@ -31,7 +31,7 @@ namespace VirtFs struct File; struct VirtList; struct VirtFsFuncs; -struct VirtFsEntry; +struct FsEntry; namespace VirtFsZip { @@ -39,33 +39,33 @@ namespace VirtFsZip void init(); void initFuncs(VirtFsFuncs *restrict const ptr); void deinit(); - bool exists(VirtFsEntry *restrict const entry, + bool exists(FsEntry *restrict const entry, const std::string &filename, const std::string &dirName); - void enumerate(VirtFsEntry *restrict const entry, + void enumerate(FsEntry *restrict const entry, const std::string &dirName, StringVect &names); - void getFiles(VirtFsEntry *restrict const entry, + void getFiles(FsEntry *restrict const entry, const std::string &dirName, StringVect &names); - void getFilesWithDir(VirtFsEntry *restrict const entry, + void getFilesWithDir(FsEntry *restrict const entry, const std::string &dirName, StringVect &names); - void getDirs(VirtFsEntry *restrict const entry, + void getDirs(FsEntry *restrict const entry, const std::string &dirName, StringVect &names); - bool isDirectory(VirtFsEntry *restrict const entry, + bool isDirectory(FsEntry *restrict const entry, const std::string &dirName, bool &isDirFlag); void freeList(VirtList *restrict const handle); - File *openRead(VirtFsEntry *restrict const entry, + File *openRead(FsEntry *restrict const entry, const std::string &filename); - File *openWrite(VirtFsEntry *restrict const entry, + File *openWrite(FsEntry *restrict const entry, const std::string &filename); - File *openAppend(VirtFsEntry *restrict const entry, + File *openAppend(FsEntry *restrict const entry, const std::string &filename); File *openReadInternal(const std::string &filename); - bool getRealDir(VirtFsEntry *restrict const entry, + bool getRealDir(FsEntry *restrict const entry, const std::string &filename, const std::string &dirName, std::string &realDir); @@ -83,7 +83,7 @@ namespace VirtFsZip int seek(File *restrict const file, const uint64_t pos); int eof(File *restrict const file); - const char *loadFile(VirtFsEntry *restrict const entry, + const char *loadFile(FsEntry *restrict const entry, const std::string &restrict fileName, int &restrict fileSize); } // namespace VirtFsZip |