summaryrefslogtreecommitdiff
path: root/src/fs/virtfszip.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-01 00:09:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-01 00:09:28 +0300
commitaf8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a (patch)
tree0074b8eb5fea7f48f44dd81bc5089316e81aafd0 /src/fs/virtfszip.h
parentdb31c2f832dd4067e4670dd469fe3b696188576b (diff)
downloadplus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.gz
plus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.bz2
plus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.xz
plus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.zip
Impliment some functions in VirtFs with physfs disabled.
Diffstat (limited to 'src/fs/virtfszip.h')
-rw-r--r--src/fs/virtfszip.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfszip.h b/src/fs/virtfszip.h
index d66ce7ee8..fd7a0568b 100644
--- a/src/fs/virtfszip.h
+++ b/src/fs/virtfszip.h
@@ -50,7 +50,9 @@ namespace VirtFsZip
void deinit();
std::vector<VirtZipEntry*> &getEntries();
bool exists(std::string name);
- VirtList *enumerateFiles(std::string dir) RETURNS_NONNULL;
+ VirtList *enumerateFiles(const std::string &dirName) RETURNS_NONNULL;
+ VirtList *enumerateFiles(std::string dirName,
+ VirtList *const list) RETURNS_NONNULL;
bool isDirectory(std::string dirName);
bool isSymbolicLink(std::string name);
void freeList(VirtList *restrict const handle);