X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.h;h=76abd51949a57fb7c03c9fa4204a81dcc34bd378;hb=621b71dc5a3e523d4663d9021a9bbcc29c19690d;hp=cb0ef662ccf169d6aa94cc1b186b3decd13370ae;hpb=3d2df61b0ca3aa4efd9258905402dc2a2c73c14c;p=debian%2Fgzip diff --git a/gzip.h b/gzip.h index cb0ef66..76abd51 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-2015 Free Software + Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2017 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 */ @@ -151,7 +152,7 @@ extern char ifname[]; /* input file name or "stdin" */ extern char ofname[]; /* output file name or "stdout" */ extern char *program_name; /* program name */ -extern struct timespec time_stamp; /* original time stamp (modification time) */ +extern struct timespec time_stamp; /* original timestamp (modification time) */ extern off_t ifile_size; /* input file size, -1 for devices (debug only) */ typedef int file_t; /* Do not use stdio */ @@ -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);