summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfszip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/virtfszip.h')
-rw-r--r--src/fs/virtfs/virtfszip.h24
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