1 //bvb#include "timemmap.h"
6 #define WSIZE 0x8000 /* Slideing window size (defined as var
7 * "window" below) must be at least 32k,
8 * and a power of two. This is the
9 * data work window used for input buffer
10 * by the input routine */
12 typedef unsigned char uch
;
13 typedef unsigned short ush
;
14 typedef unsigned long ulg
;
17 static char *output_data
;
18 static ulg output_ptr
;
24 #define NOMEMCPY /* Does routine memcpy exist? */
26 //bvb static uch *inbuf; /* input buffer */
29 //bvb static uch outwin[WSIZE];
31 //bvb static unsigned insize; /* valid bytes in inbuf */
32 static unsigned inptr
; /* index of next byte to process in inbuf */
34 static unsigned outcnt
; /* bytes in output buffer */
37 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
38 #define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip file */
39 #define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */
40 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */
41 #define COMMENT 0x10 /* bit 4 set: file comment present */
42 #define ENCRYPTED 0x20 /* bit 5 set: file is encrypted */
43 #define RESERVED 0xC0 /* bit 6,7: reserved */
45 /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */
46 #define BMAX 16 /* maximum bit length of any code (16 for explode) */
47 #define N_MAX 288 /* maximum number of codes in any set */
49 static char *input_data
;
51 static void *freememstart
;
This page took 0.044597 seconds and 5 git commands to generate.