summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfszip.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-04 02:10:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-04 02:18:38 +0300
commitb625bb7201ba2633fe0247ad6a1577c3cd6860cb (patch)
tree8bc83dfe6b8cdad33d04ea593c50ee02b468c9fb /src/fs/virtfs/virtfszip.h
parent79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00 (diff)
downloadplus-b625bb7201ba2633fe0247ad6a1577c3cd6860cb.tar.gz
plus-b625bb7201ba2633fe0247ad6a1577c3cd6860cb.tar.bz2
plus-b625bb7201ba2633fe0247ad6a1577c3cd6860cb.tar.xz
plus-b625bb7201ba2633fe0247ad6a1577c3cd6860cb.zip
Remove unused functions from virtfs.
Diffstat (limited to 'src/fs/virtfs/virtfszip.h')
-rw-r--r--src/fs/virtfs/virtfszip.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/fs/virtfs/virtfszip.h b/src/fs/virtfs/virtfszip.h
index e88c74b69..bf4f5b3be 100644
--- a/src/fs/virtfs/virtfszip.h
+++ b/src/fs/virtfs/virtfszip.h
@@ -33,44 +33,23 @@ struct VirtFile;
struct VirtList;
struct VirtFsFuncs;
struct VirtFsEntry;
-struct VirtZipEntry;
-struct ZipLocalHeader;
namespace VirtFsZip
{
VirtFsFuncs *getFuncs();
- VirtZipEntry *searchEntryByArchive(const std::string &restrict
- archiveName);
- ZipLocalHeader *searchHeaderByName(const std::string &restrict filename);
- VirtZipEntry *searchZipEntryByNameWithDir(const std::string &restrict
- filename);
- bool addToSearchPath(std::string newDir,
- const Append append);
- bool addToSearchPathSilent(std::string newDir,
- const Append append);
- bool removeFromSearchPath(std::string oldDir);
- bool removeFromSearchPathSilent(std::string oldDir);
void init();
void initFuncs(VirtFsFuncs *restrict const ptr);
void deinit();
- std::vector<VirtZipEntry*> &getEntries();
- bool exists(std::string name);
bool exists(VirtFsEntry *restrict const entry,
const std::string &filename,
const std::string &dirName);
void enumerate(VirtFsEntry *restrict const entry,
const std::string &dirName,
StringVect &names);
- VirtList *enumerateFiles(std::string dirName) RETURNS_NONNULL;
- VirtList *enumerateFiles(std::string dirName,
- VirtList *restrict const list) RETURNS_NONNULL;
bool isDirectory(VirtFsEntry *restrict const entry,
const std::string &dirName,
bool &isDirFlag);
- bool isDirectoryInternal(std::string dirName);
- bool isSymbolicLink(std::string name);
void freeList(VirtList *restrict const handle);
- VirtFile *openRead(std::string filename);
VirtFile *openRead(VirtFsEntry *restrict const entry,
const std::string &filename);
VirtFile *openWrite(VirtFsEntry *restrict const entry,
@@ -78,19 +57,10 @@ namespace VirtFsZip
VirtFile *openAppend(VirtFsEntry *restrict const entry,
const std::string &filename);
VirtFile *openReadInternal(const std::string &filename);
- VirtFile *openWrite(const std::string &restrict filename);
- VirtFile *openAppend(const std::string &restrict filename);
- bool setWriteDir(const std::string &restrict newDir);
- std::string getRealDir(std::string filename);
- std::string getRealDirInternal(const std::string &filename);
bool getRealDir(VirtFsEntry *restrict const entry,
const std::string &filename,
const std::string &dirName,
std::string &realDir);
- bool mkdir(const std::string &restrict dirName);
- bool remove(const std::string &restrict filename);
- void permitLinks(const bool val);
- const char *getLastError();
int64_t read(VirtFile *restrict const handle,
void *restrict const buffer,
const uint32_t objSize,