|
LMMS
|
Go to the source code of this file.
Classes | |
| struct | _UzpBuffer |
| struct | _UzpInit |
| struct | _UzpCB |
| struct | _UzpOpts |
| struct | _ver |
| struct | _UzpVer |
| struct | _UzpVer2 |
| struct | _Uzp_Siz64 |
| struct | _Uzp_cdir_Rec |
Macros | |
| #define | OF(a) |
| #define | ZCONST |
| #define | UZ_EXP |
| #define | void int |
| #define | _IZ_TYPES_DEFINED |
| #define | UZPINIT_LEN sizeof(UzpInit) |
| #define | UZPVER_LEN sizeof(UzpVer) |
| #define | cbList(func) |
| #define | PK_OK 0 /* no error */ |
| #define | PK_COOL 0 /* no error */ |
| #define | PK_WARN 1 /* warning error */ |
| #define | PK_ERR 2 /* error in zipfile */ |
| #define | PK_BADERR 3 /* severe error in zipfile */ |
| #define | PK_MEM 4 /* insufficient memory (during initialization) */ |
| #define | PK_MEM2 5 /* insufficient memory (password failure) */ |
| #define | PK_MEM3 6 /* insufficient memory (file decompression) */ |
| #define | PK_MEM4 7 /* insufficient memory (memory decompression) */ |
| #define | PK_MEM5 8 /* insufficient memory (not yet used) */ |
| #define | PK_NOZIP 9 /* zipfile not found */ |
| #define | PK_PARAM 10 /* bad or illegal parameters specified */ |
| #define | PK_FIND 11 /* no files found */ |
| #define | PK_DISK 50 /* disk full */ |
| #define | PK_EOF 51 /* unexpected EOF */ |
| #define | IZ_CTRLC 80 /* user hit ^C to terminate */ |
| #define | IZ_UNSUP 81 /* no files found: all unsup. compr/encrypt. */ |
| #define | IZ_BADPWD 82 /* no files found: all had bad password */ |
| #define | IZ_ERRBF 83 /* big-file archive, small-file program */ |
| #define | IZ_PW_ENTERED 0 /* got some password string; use/try it */ |
| #define | IZ_PW_CANCEL -1 /* no password available (for this entry) */ |
| #define | IZ_PW_CANCELALL -2 /* no password, skip any further pwd. request */ |
| #define | IZ_PW_ERROR 5 /* = PK_MEM2 : failure (no mem, no tty, ...) */ |
| #define | UZ_ST_START_EXTRACT 1 /* no details */ |
| #define | UZ_ST_IN_PROGRESS 2 /* no details */ |
| #define | UZ_ST_FINISH_MEMBER 3 /* 'details': extracted size */ |
| #define | UZ_ST_CONTINUE 0 |
| #define | UZ_ST_BREAK 1 |
| #define | UzpMatch match |
Typedefs | |
| typedef struct _UzpBuffer | UzpBuffer |
| typedef struct _UzpInit | UzpInit |
| typedef struct _UzpCB | UzpCB |
| typedef struct _UzpOpts | UzpOpts |
| typedef struct _ver | _version_type |
| typedef struct _UzpVer | UzpVer |
| typedef struct _UzpVer2 | UzpVer2 |
| typedef struct _Uzp_Siz64 | Uzp_Siz64 |
| typedef struct _Uzp_cdir_Rec | Uzp_cdir_Rec |
Functions | |
| typedef | int (UZ_EXP MsgFn)() |
| typedef | void (UZ_EXP PauseFn)() |
| int UZ_EXP UzpMain | OF ((int argc, char **argv)) |
| int UZ_EXP UzpAltMain | OF ((int argc, char **argv, UzpInit *init)) |
| ZCONST UzpVer *UZ_EXP UzpVersion | OF ((void)) |
| void UZ_EXP UzpFreeMemBuffer | OF ((UzpBuffer *retstr)) |
| int UZ_EXP UzpUnzipToMemory | OF ((char *zip, char *file, UzpOpts *optflgs, UzpCB *UsrFunc, UzpBuffer *retstr)) |
| int UZ_EXP UzpGrep | OF ((char *archive, char *file, char *pattern, int cmd, int SkipBin, UzpCB *UsrFunc)) |
| unsigned UZ_EXP UzpVersion2 | OF ((UzpVer2 *version)) |
| int UZ_EXP UzpValidate | OF ((char *archive, int AllCodes)) |
| int UZ_EXP UzpMessagePrnt | OF ((zvoid *pG, uch *buf, ulg size, int flag)) |
| int UZ_EXP UzpInput | OF ((zvoid *pG, uch *buf, int *size, int flag)) |
| void UZ_EXP UzpMorePause | OF ((zvoid *pG, ZCONST char *prompt, int flag)) |
| int UZ_EXP UzpPassword | OF ((zvoid *pG, int *rcnt, char *pwbuf, int size, ZCONST char *zfn, ZCONST char *efn)) |
| #define _IZ_TYPES_DEFINED |
| #define cbList | ( | func | ) |
| #define IZ_BADPWD 82 /* no files found: all had bad password */ |
| #define IZ_CTRLC 80 /* user hit ^C to terminate */ |
| #define IZ_PW_CANCEL -1 /* no password available (for this entry) */ |
| #define IZ_PW_CANCELALL -2 /* no password, skip any further pwd. request */ |
| #define IZ_PW_ENTERED 0 /* got some password string; use/try it */ |
| #define IZ_UNSUP 81 /* no files found: all unsup. compr/encrypt. */ |
| #define OF | ( | a | ) |
| #define PK_COOL 0 /* no error */ |
| #define PK_DISK 50 /* disk full */ |
| #define PK_EOF 51 /* unexpected EOF */ |
| #define PK_FIND 11 /* no files found */ |
| #define PK_MEM 4 /* insufficient memory (during initialization) */ |
| #define PK_MEM2 5 /* insufficient memory (password failure) */ |
| #define PK_MEM3 6 /* insufficient memory (file decompression) */ |
| #define PK_MEM4 7 /* insufficient memory (memory decompression) */ |
| #define PK_MEM5 8 /* insufficient memory (not yet used) */ |
| #define PK_NOZIP 9 /* zipfile not found */ |
| #define PK_OK 0 /* no error */ |
| #define PK_PARAM 10 /* bad or illegal parameters specified */ |
| #define UZ_EXP |
| #define UZ_ST_BREAK 1 |
| #define UZ_ST_CONTINUE 0 |
| #define UZ_ST_FINISH_MEMBER 3 /* 'details': extracted size */ |
| #define UZ_ST_IN_PROGRESS 2 /* no details */ |
| #define UZ_ST_START_EXTRACT 1 /* no details */ |
| #define UZPINIT_LEN sizeof(UzpInit) |
| #define UzpMatch match |
| #define UZPVER_LEN sizeof(UzpVer) |
| #define void int |
| #define ZCONST |
| typedef struct _ver _version_type |
| typedef struct _Uzp_cdir_Rec Uzp_cdir_Rec |
| typedef struct _Uzp_Siz64 Uzp_Siz64 |
| typedef struct _UzpBuffer UzpBuffer |
| typedef int | ( | UZ_EXP | MsgFn | ) |
| int UZ_EXP UzpGrep OF | ( | (char *archive, char *file, char *pattern, int cmd, int SkipBin, UzpCB *UsrFunc) | ) |
| int UZ_EXP UzpUnzipToMemory OF | ( | (char *zip, char *file, UzpOpts *optflgs, UzpCB *UsrFunc, UzpBuffer *retstr) | ) |
| int UZ_EXP UzpPassword OF | ( | (zvoid *pG, int *rcnt, char *pwbuf, int size, ZCONST char *zfn, ZCONST char *efn) | ) |
| typedef void | ( | UZ_EXP | PauseFn | ) |