X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.h;fp=gzip.h;h=f298b47345a3c22c64385107607475071079bed6;hb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;hp=648073eee4b3106513c4102dddfd8de02e99ca1a;hpb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;p=debian%2Fgzip diff --git a/gzip.h b/gzip.h index 648073e..f298b47 100644 --- a/gzip.h +++ b/gzip.h @@ -1,6 +1,6 @@ /* gzip.h -- common declarations for all gzip modules - Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2013 Free Software + Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2016 Free Software Foundation, Inc. Copyright (C) 1992-1993 Jean-loup Gailly. @@ -140,6 +140,7 @@ EXTERN(uch, window); /* Sliding window and suffix table (unlzw) */ extern unsigned insize; /* valid bytes in inbuf */ extern unsigned inptr; /* index of next byte to be processed in inbuf */ extern unsigned outcnt; /* bytes in output buffer */ +extern int rsync; /* deflate into rsyncable chunks */ extern off_t bytes_in; /* number of input bytes */ extern off_t bytes_out; /* number of output bytes */ @@ -287,7 +288,7 @@ extern off_t deflate (void); /* in trees.c */ extern void ct_init (ush *attr, int *method); extern int ct_tally (int dist, int lc); -extern off_t flush_block (char *buf, ulg stored_len, int eof); +extern off_t flush_block (char *buf, ulg stored_len, int pad, int eof); /* in bits.c */ extern void bi_init (file_t zipfile);