NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Go to the source code of this file.
Classes | |
struct | ZIPENTRY |
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_PASSWORD 0x00001000 |
#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 CloseZipU |
#define | FormatZipMessage FormatZipMessageU |
Typedefs | |
typedef DWORD | ZRESULT |
Functions | |
DECLARE_HANDLE (HZIP) | |
HZIP | OpenZip (const TCHAR *fn, const char *password) |
HZIP | OpenZip (void *z, unsigned int len, const char *password) |
HZIP | OpenZipHandle (HANDLE h, const char *password) |
ZRESULT | GetZipItem (HZIP hz, int index, ZIPENTRY *ze) |
ZRESULT | FindZipItem (HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze) |
ZRESULT | UnzipItem (HZIP hz, int index, const TCHAR *fn) |
ZRESULT | UnzipItem (HZIP hz, int index, void *z, unsigned int len) |
ZRESULT | UnzipItemHandle (HZIP hz, int index, HANDLE h) |
ZRESULT | SetUnzipBaseDir (HZIP hz, const TCHAR *dir) |
ZRESULT | CloseZip (HZIP hz) |
unsigned int | FormatZipMessage (ZRESULT code, TCHAR *buf, unsigned int len) |
ZRESULT | CloseZipU (HZIP hz) |
unsigned int | FormatZipMessageU (ZRESULT code, TCHAR *buf, unsigned int len) |
bool | IsZipHandleU (HZIP hz) |
#define FormatZipMessage FormatZipMessageU |
ZRESULT CloseZip | ( | HZIP | hz | ) |
ZRESULT CloseZipU | ( | HZIP | hz | ) |
Definition at line 4752 of file unzip.cpp.
References TUnzip::Close(), TUnzipHandleData::flag, lasterrorU, TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
DECLARE_HANDLE | ( | HZIP | ) |
Definition at line 4685 of file unzip.cpp.
References TUnzip::Find(), TUnzipHandleData::flag, lasterrorU, name, TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
Referenced by Zipfile::getZipItem().
unsigned int FormatZipMessage | ( | ZRESULT | code, |
TCHAR * | buf, | ||
unsigned int | len | ||
) |
unsigned int FormatZipMessageU | ( | ZRESULT | code, |
TCHAR * | buf, | ||
unsigned int | len | ||
) |
Definition at line 4544 of file unzip.cpp.
References _T, lasterrorU, 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_PASSWORD, ZR_READ, ZR_RECENT, ZR_SEEK, ZR_WRITE, and ZR_ZMODE.
Definition at line 4664 of file unzip.cpp.
References TUnzipHandleData::flag, TUnzip::Get(), ZIPENTRY::index, lasterrorU, ZIPENTRY::name, ZIPENTRY::unc_size, TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
Referenced by Zipfile::getZipContent().
bool IsZipHandleU | ( | HZIP | hz | ) |
Definition at line 4772 of file unzip.cpp.
References TUnzipHandleData::flag.
HZIP OpenZip | ( | const TCHAR * | fn, |
const char * | password | ||
) |
Definition at line 4654 of file unzip.cpp.
References OpenZipInternal(), and ZIP_FILENAME.
Referenced by Zipfile::open().
HZIP OpenZip | ( | void * | z, |
unsigned int | len, | ||
const char * | password | ||
) |
Definition at line 4658 of file unzip.cpp.
References OpenZipInternal(), and ZIP_MEMORY.
HZIP OpenZipHandle | ( | HANDLE | h, |
const char * | password | ||
) |
Definition at line 4650 of file unzip.cpp.
References OpenZipInternal(), and ZIP_HANDLE.
ZRESULT SetUnzipBaseDir | ( | HZIP | hz, |
const TCHAR * | dir | ||
) |
Definition at line 4733 of file unzip.cpp.
References TUnzipHandleData::flag, lasterrorU, TUnzip::SetUnzipBaseDir(), TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
ZRESULT UnzipItem | ( | HZIP | hz, |
int | index, | ||
const TCHAR * | fn | ||
) |
Definition at line 4724 of file unzip.cpp.
References UnzipItemInternal(), and ZIP_FILENAME.
Referenced by Zipfile::getZipContent(), and Zipfile::getZipItem().
ZRESULT UnzipItem | ( | HZIP | hz, |
int | index, | ||
void * | z, | ||
unsigned int | len | ||
) |
Definition at line 4728 of file unzip.cpp.
References UnzipItemInternal(), and ZIP_MEMORY.
ZRESULT UnzipItemHandle | ( | HZIP | hz, |
int | index, | ||
HANDLE | h | ||
) |
Definition at line 4720 of file unzip.cpp.
References UnzipItemInternal(), and ZIP_HANDLE.