|
Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
|

Go to the source code of this file.
Classes | |
| struct | IoIntfZipReader |
| The IoIntfZipReader, which implements the abstract ZipReader interface, makes it possible for a ZipIo to open a ZIP file via another IoInterface. More... | |
Macros | |
| #define | IoIntfZipReader_destructor(o) IoIntfZipReader_close(o); |
| Close without freeing the object itself. More... | |
| #define | IoIntfZipReader_getECode(o) (o)->lastECode |
| Read the stored construction/read status. More... | |
Typedefs | |
| typedef IoIntfZipReader | IoIntfZipReader |
| The IoIntfZipReader, which implements the abstract ZipReader interface, makes it possible for a ZipIo to open a ZIP file via another IoInterface. More... | |
Functions | |
| BA_API void | IoIntfZipReader_constructor (IoIntfZipReader *o, IoIntf *io, const char *pathName) |
| Initialize and open a ZIP reader; see IoIntfZipReader::IoIntfZipReader. More... | |
| BA_API int | IoIntfZipReader_close (IoIntfZipReader *o) |
| Close the reader; see IoIntfZipReader::close for lifetime requirements. More... | |
| #define IoIntfZipReader_destructor | ( | o | ) | IoIntfZipReader_close(o); |
Close without freeing the object itself.
| [in,out] | o | Initialized reader whose users have stopped. The C++ destructor discards the close result; use close to inspect it. |
| #define IoIntfZipReader_getECode | ( | o | ) | (o)->lastECode |
Read the stored construction/read status.
| [in] | o | Initialized reader. |
| BA_API int IoIntfZipReader_close | ( | IoIntfZipReader * | o | ) |
Close the reader; see IoIntfZipReader::close for lifetime requirements.
| [in,out] | o | Initialized reader, including one whose open failed. |
| BA_API void IoIntfZipReader_constructor | ( | IoIntfZipReader * | o, |
| IoIntf * | io, | ||
| const char * | pathName | ||
| ) |
Initialize and open a ZIP reader; see IoIntfZipReader::IoIntfZipReader.
| [out] | o | Caller-owned object to initialize. |
| [in] | io | Borrowed seekable I/O interface, valid until close. |
| [in] | pathName | Required NUL-terminated path within io. Inspect IoIntfZipReader_getECode before use. |