ManaPlus
Namespaces | Functions | Variables
fszip.cpp File Reference

(986a3bf)

#include "fs/virtfs/fszip.h"
#include "fs/virtfs/file.h"
#include "fs/virtfs/fsfuncs.h"
#include "fs/virtfs/fsziprwops.h"
#include "fs/virtfs/list.h"
#include "fs/virtfs/zipentry.h"
#include "fs/virtfs/zipreader.h"
#include "fs/virtfs/ziplocalheader.h"
#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "debug.h"

Go to the source code of this file.

Namespaces

 anonymous_namespace{fszip.cpp}
 
 VirtFs
 
 VirtFs::FsZip
 

Functions

FsFuncs * VirtFs::FsZip::getFuncs ()
 
void VirtFs::FsZip::deinit ()
 
void VirtFs::FsZip::init ()
 
void VirtFs::FsZip::initFuncs (FsFuncs *const ptr)
 
bool VirtFs::FsZip::getRealDir (FsEntry *const entry, std::string filename, std::string dirName, std::string &realDir)
 
bool VirtFs::FsZip::exists (FsEntry *const entry, std::string filename, std::string dirName)
 
void VirtFs::FsZip::enumerate (FsEntry *const entry, std::string dirName, StringVect &names)
 
void VirtFs::FsZip::getFiles (FsEntry *const entry, std::string dirName, StringVect &names)
 
void VirtFs::FsZip::getFilesWithDir (FsEntry *const entry, const std::string &dirName, StringVect &names)
 
void VirtFs::FsZip::getDirs (FsEntry *const entry, std::string dirName, StringVect &names)
 
bool VirtFs::FsZip::isDirectory (FsEntry *const entry, std::string dirName, bool &isDirFlag)
 
void VirtFs::FsZip::freeList (List *const handle)
 
File * VirtFs::FsZip::openRead (FsEntry *const entry, std::string filename)
 
File * VirtFs::FsZip::openWrite (FsEntry *const entry, const std::string &filename)
 
File * VirtFs::FsZip::openAppend (FsEntry *const entry, const std::string &filename)
 
int VirtFs::FsZip::close (File *const file)
 
int64_t VirtFs::FsZip::read (File *const file, void *const buffer, const uint32_t objSize, const uint32_t objCount)
 
int64_t VirtFs::FsZip::write (File *const file, const void *const buffer, const uint32_t objSize, const uint32_t objCount)
 
int64_t VirtFs::FsZip::fileLength (File *const file)
 
int64_t VirtFs::FsZip::tell (File *const file)
 
int VirtFs::FsZip::seek (File *const file, const uint64_t pos)
 
int VirtFs::FsZip::eof (File *const file)
 
const char * VirtFs::FsZip::loadFile (FsEntry *const entry, std::string filename, int &fileSize)
 

Variables

const char * dirSeparator
 
VirtFs::FsFuncs anonymous_namespace{fszip.cpp}::funcs
 

Variable Documentation

◆ dirSeparator

const char* dirSeparator
extern