97 void operator delete(
void* d) {
if(d)
::baFree(d); }
98 void *
operator new(size_t,
void *place) {
return place; }
99 void operator delete(
void*,
void *) { }
173#define ZipIo_getECode(o) (o)->ecode
void * baMalloc(size_t size)
Allocate uninitialized storage using the target's configured allocator.
void baFree(void *p)
Release storage using the target's configured allocator.
ZipIo ZipIo
The ZipIo class makes it possible for the web server to work with resources in a ZIP file as if the Z...
ZipErr
ZIP metadata parsing result; zero is success, negative values are failures.
Definition: ZipFileIterator.h:108
ZipErr getECode()
Query construction status without performing I/O.
Definition: ZipIo.h:182
~ZipIo()
Notify an attached IoIntf, free the index/buffer/password storage, and leave the borrowed ZipReader a...
Definition: ZipIo.h:179
#define ZipIo_getECode(o)
Query construction status without performing I/O.
Definition: ZipIo.h:173
BA_API void ZipIo_destructor(ZipIo *o)
Notify an attached IoIntf, free the index/buffer/password storage, and leave the borrowed ZipReader a...
BA_API void ZipIo_constructor(ZipIo *o, ZipReader *reader, size_t size, AllocatorIntf *alloc)
ZipIo constructor.
uint16_t U16
Unsigned 16-bit integer.
Definition: GenPrimT.h:91
U8 BaBool
Boolean stored in an unsigned byte; FALSE is zero and TRUE is one.
Definition: GenPrimT.h:118
Memory allocation and deallocation Interface class.
Definition: AllocatorIntf.h:98
The IoIntf class specifies an abstract file API, implementations include ZipIo, DiskIo,...
Definition: IoIntf.h:482
A ZipContainer is a buffer used by a ZipIo when reading data from a ZipReader.
Definition: ZipFileIterator.h:434
The ZipIo class makes it possible for the web server to work with resources in a ZIP file as if the Z...
Definition: ZipIo.h:93
ZipIo()
Uninitialized storage; call ZipIo_constructor before use.
Definition: ZipIo.h:95
Abstract interface class for reading a ZipFile.
Definition: ZipFileIterator.h:74