00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 */ 00004 00005 00006 00007 00008 typedef struct { 00009 unsigned char op; 00010 unsigned char bits; 00011 unsigned short val; 00012 } code; 00013 00014 #define ENOUGH 2048 00015 #define MAXD 592 00016 00017 typedef enum { 00018 CODES, 00019 LENS, 00020 DISTS 00021 } codetype; 00022 00023 extern int inflate_table OF((codetype type, unsigned short FAR *lens, 00024 unsigned codes, code FAR * FAR *table, 00025 unsigned FAR *bits, unsigned short FAR *work));
1.5.6