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