From aa549268c57e8dd7478693b160b7aadb35ff2e09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 May 2017 02:13:49 +0300 Subject: Rename virtfsentry into fsentry. --- src/fs/virtfs/virtfsfuncs.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/fs/virtfs/virtfsfuncs.h') diff --git a/src/fs/virtfs/virtfsfuncs.h b/src/fs/virtfs/virtfsfuncs.h index bc74fa785..70f9882ab 100644 --- a/src/fs/virtfs/virtfsfuncs.h +++ b/src/fs/virtfs/virtfsfuncs.h @@ -33,7 +33,7 @@ namespace VirtFs { struct File; -struct VirtFsEntry; +struct FsEntry; struct VirtFsFuncs final { @@ -81,36 +81,36 @@ struct VirtFsFuncs final int64_t (*tell) (File *restrict const file); int (*seek) (File *restrict const file, const uint64_t pos); - bool (*exists) (VirtFsEntry *restrict const entry, + bool (*exists) (FsEntry *restrict const entry, const std::string &filename, const std::string &dirName); - bool (*getRealDir) (VirtFsEntry *restrict const entry, + bool (*getRealDir) (FsEntry *restrict const entry, const std::string &filename, const std::string &dirName, std::string &realDir); - 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); - 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); 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); -- cgit v1.2.3-70-g09d2