Data Structures |
| struct | fdi_file |
| struct | fdi_folder |
| struct | MORE_ISCAB_INFO |
| struct | FDI_Int |
| struct | fdi_decomp_state |
Defines |
| #define | FDI_INT_MAGIC 0xfdfdfd05 |
| #define | ZIPNEEDBITS(n) |
| #define | ZIPDUMPBITS(n) {b>>=(n);k-=(n);} |
| #define | EndGetI32(a) ((((a)[3])<<24)|(((a)[2])<<16)|(((a)[1])<<8)|((a)[0])) |
| #define | EndGetI16(a) ((((a)[1])<<8)|((a)[0])) |
| #define | CAB(x) (decomp_state->x) |
| #define | ZIP(x) (decomp_state->methods.zip.x) |
| #define | QTM(x) (decomp_state->methods.qtm.x) |
| #define | LZX(x) (decomp_state->methods.lzx.x) |
| #define | DECR_OK (0) |
| #define | DECR_DATAFORMAT (1) |
| #define | DECR_ILLEGALDATA (2) |
| #define | DECR_NOMEMORY (3) |
| #define | DECR_CHECKSUM (4) |
| #define | DECR_INPUT (5) |
| #define | DECR_OUTPUT (6) |
| #define | DECR_USERABORT (7) |
Typedefs |
| typedef struct MORE_ISCAB_INFO * | PMORE_ISCAB_INFO |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (cabinet) |
| static void | set_error (FDI_Int *fdi, int oper, int err) |
| static FDI_Int * | get_fdi_ptr (HFDI hfdi) |
| static void | QTMupdatemodel (struct QTMmodel *model, int sym) |
| static int | make_decode_table (cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table) |
| static cab_ULONG | checksum (const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum) |
| HFDI __cdecl | FDICreate (PFNALLOC pfnalloc, PFNFREE pfnfree, PFNOPEN pfnopen, PFNREAD pfnread, PFNWRITE pfnwrite, PFNCLOSE pfnclose, PFNSEEK pfnseek, int cpuType, PERF perf) |
| static LONG | FDI_getoffset (FDI_Int *fdi, INT_PTR hf) |
| static char * | FDI_read_string (FDI_Int *fdi, INT_PTR hf, long cabsize) |
| static BOOL | FDI_read_entries (FDI_Int *fdi, INT_PTR hf, PFDICABINETINFO pfdici, PMORE_ISCAB_INFO pmii) |
| BOOL __cdecl | FDIIsCabinet (HFDI hfdi, INT_PTR hf, PFDICABINETINFO pfdici) |
| static void | QTMfdi_initmodel (struct QTMmodel *m, struct QTMmodelsym *sym, int n, int s) |
| static int | QTMfdi_init (int window, int level, fdi_decomp_state *decomp_state) |
| static int | LZXfdi_init (int window, fdi_decomp_state *decomp_state) |
| static int | NONEfdi_decomp (int inlen, int outlen, fdi_decomp_state *decomp_state) |
| static void | fdi_Ziphuft_free (FDI_Int *fdi, struct Ziphuft *t) |
| static cab_LONG | fdi_Ziphuft_build (cab_ULONG *b, cab_ULONG n, cab_ULONG s, const cab_UWORD *d, const cab_UWORD *e, struct Ziphuft **t, cab_LONG *m, fdi_decomp_state *decomp_state) |
| static cab_LONG | fdi_Zipinflate_codes (const struct Ziphuft *tl, const struct Ziphuft *td, cab_LONG bl, cab_LONG bd, fdi_decomp_state *decomp_state) |
| static cab_LONG | fdi_Zipinflate_stored (fdi_decomp_state *decomp_state) |
| static cab_LONG | fdi_Zipinflate_fixed (fdi_decomp_state *decomp_state) |
| static cab_LONG | fdi_Zipinflate_dynamic (fdi_decomp_state *decomp_state) |
| static cab_LONG | fdi_Zipinflate_block (cab_LONG *e, fdi_decomp_state *decomp_state) |
| static int | ZIPfdi_decomp (int inlen, int outlen, fdi_decomp_state *decomp_state) |
| static int | QTMfdi_decomp (int inlen, int outlen, fdi_decomp_state *decomp_state) |
| static int | fdi_lzx_read_lens (cab_UBYTE *lens, cab_ULONG first, cab_ULONG last, struct lzx_bits *lb, fdi_decomp_state *decomp_state) |
| static int | LZXfdi_decomp (int inlen, int outlen, fdi_decomp_state *decomp_state) |
| static int | fdi_decomp (const struct fdi_file *fi, int savemode, fdi_decomp_state *decomp_state, char *pszCabPath, PFNFDINOTIFY pfnfdin, void *pvUser) |
| static void | free_decompression_temps (FDI_Int *fdi, const struct fdi_folder *fol, fdi_decomp_state *decomp_state) |
| static void | free_decompression_mem (FDI_Int *fdi, fdi_decomp_state *decomp_state) |
| BOOL __cdecl | FDICopy (HFDI hfdi, char *pszCabinet, char *pszCabPath, int flags, PFNFDINOTIFY pfnfdin, PFNFDIDECRYPT pfnfdid, void *pvUser) |
| BOOL __cdecl | FDIDestroy (HFDI hfdi) |
| BOOL __cdecl | FDITruncateCabinet (HFDI hfdi, char *pszCabinetName, USHORT iFolderToDelete) |
Variables |
| | THOSE_ZIP_CONSTS |