NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Go to the source code of this file.
Macros | |
#define | ZR_OK 0x00000000 |
#define | ZR_RECENT 0x00000001 |
#define | ZR_GENMASK 0x0000FF00 |
#define | ZR_NODUPH 0x00000100 |
#define | ZR_NOFILE 0x00000200 |
#define | ZR_NOALLOC 0x00000300 |
#define | ZR_WRITE 0x00000400 |
#define | ZR_NOTFOUND 0x00000500 |
#define | ZR_MORE 0x00000600 |
#define | ZR_CORRUPT 0x00000700 |
#define | ZR_READ 0x00000800 |
#define | ZR_CALLERMASK 0x00FF0000 |
#define | ZR_ARGS 0x00010000 |
#define | ZR_NOTMMAP 0x00020000 |
#define | ZR_MEMSIZE 0x00030000 |
#define | ZR_FAILED 0x00040000 |
#define | ZR_ENDED 0x00050000 |
#define | ZR_MISSIZE 0x00060000 |
#define | ZR_PARTIALUNZ 0x00070000 |
#define | ZR_ZMODE 0x00080000 |
#define | ZR_BUGMASK 0xFF000000 |
#define | ZR_NOTINITED 0x01000000 |
#define | ZR_SEEK 0x02000000 |
#define | ZR_NOCHANGE 0x04000000 |
#define | ZR_FLATE 0x05000000 |
#define | CloseZip CloseZipZ |
#define | FormatZipMessage FormatZipMessageZ |
Typedefs | |
typedef DWORD | ZRESULT |
Functions | |
DECLARE_HANDLE (HZIP) | |
HZIP | CreateZip (const TCHAR *fn, const char *password) |
HZIP | CreateZip (void *buf, unsigned int len, const char *password) |
HZIP | CreateZipHandle (HANDLE h, const char *password) |
ZRESULT | ZipAdd (HZIP hz, const TCHAR *dstzn, const TCHAR *fn) |
ZRESULT | ZipAdd (HZIP hz, const TCHAR *dstzn, void *src, unsigned int len) |
ZRESULT | ZipAddHandle (HZIP hz, const TCHAR *dstzn, HANDLE h) |
ZRESULT | ZipAddHandle (HZIP hz, const TCHAR *dstzn, HANDLE h, unsigned int len) |
ZRESULT | ZipAddFolder (HZIP hz, const TCHAR *dstzn) |
ZRESULT | ZipGetMemory (HZIP hz, void **buf, unsigned long *len) |
ZRESULT | CloseZip (HZIP hz) |
unsigned int | FormatZipMessage (ZRESULT code, TCHAR *buf, unsigned int len) |
ZRESULT | CloseZipZ (HZIP hz) |
unsigned int | FormatZipMessageZ (ZRESULT code, char *buf, unsigned int len) |
bool | IsZipHandleZ (HZIP hz) |
#define FormatZipMessage FormatZipMessageZ |
ZRESULT CloseZip | ( | HZIP | hz | ) |
ZRESULT CloseZipZ | ( | HZIP | hz | ) |
Definition at line 3323 of file zip.cpp.
References TZip::Close(), TZipHandleData::flag, lasterrorZ, TZipHandleData::zip, ZR_ARGS, and ZR_ZMODE.
HZIP CreateZip | ( | const TCHAR * | fn, |
const char * | password | ||
) |
Definition at line 3253 of file zip.cpp.
References CreateZipInternal(), and ZIP_FILENAME.
Referenced by Zipfile::open().
HZIP CreateZip | ( | void * | buf, |
unsigned int | len, | ||
const char * | password | ||
) |
Definition at line 3257 of file zip.cpp.
References CreateZipInternal(), and ZIP_MEMORY.
HZIP CreateZipHandle | ( | HANDLE | h, |
const char * | password | ||
) |
Definition at line 3249 of file zip.cpp.
References CreateZipInternal(), and ZIP_HANDLE.
DECLARE_HANDLE | ( | HZIP | ) |
unsigned int FormatZipMessage | ( | ZRESULT | code, |
TCHAR * | buf, | ||
unsigned int | len | ||
) |
unsigned int FormatZipMessageZ | ( | ZRESULT | code, |
char * | buf, | ||
unsigned int | len | ||
) |
Definition at line 3147 of file zip.cpp.
References lasterrorZ, ZR_ARGS, ZR_CORRUPT, ZR_ENDED, ZR_FAILED, ZR_FLATE, ZR_MEMSIZE, ZR_MISSIZE, ZR_MORE, ZR_NOALLOC, ZR_NOCHANGE, ZR_NODUPH, ZR_NOFILE, ZR_NOTFOUND, ZR_NOTINITED, ZR_NOTMMAP, ZR_OK, ZR_PARTIALUNZ, ZR_READ, ZR_RECENT, ZR_SEEK, ZR_WRITE, and ZR_ZMODE.
bool IsZipHandleZ | ( | HZIP | hz | ) |
Definition at line 3343 of file zip.cpp.
References TZipHandleData::flag.
ZRESULT ZipAdd | ( | HZIP | hz, |
const TCHAR * | dstzn, | ||
const TCHAR * | fn | ||
) |
Definition at line 3280 of file zip.cpp.
References ZIP_FILENAME, and ZipAddInternal().
Referenced by Zipfile::addFile().
ZRESULT ZipAdd | ( | HZIP | hz, |
const TCHAR * | dstzn, | ||
void * | src, | ||
unsigned int | len | ||
) |
Definition at line 3284 of file zip.cpp.
References ZIP_MEMORY, and ZipAddInternal().
ZRESULT ZipAddFolder | ( | HZIP | hz, |
const TCHAR * | dstzn | ||
) |
Definition at line 3296 of file zip.cpp.
References ZIP_FOLDER, and ZipAddInternal().
ZRESULT ZipAddHandle | ( | HZIP | hz, |
const TCHAR * | dstzn, | ||
HANDLE | h | ||
) |
Definition at line 3288 of file zip.cpp.
References ZIP_HANDLE, and ZipAddInternal().
ZRESULT ZipAddHandle | ( | HZIP | hz, |
const TCHAR * | dstzn, | ||
HANDLE | h, | ||
unsigned int | len | ||
) |
Definition at line 3292 of file zip.cpp.
References ZIP_HANDLE, and ZipAddInternal().
ZRESULT ZipGetMemory | ( | HZIP | hz, |
void ** | buf, | ||
unsigned long * | len | ||
) |
Definition at line 3303 of file zip.cpp.
References TZipHandleData::flag, TZip::GetMemory(), lasterrorZ, TZipHandleData::zip, ZR_ARGS, and ZR_ZMODE.