#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include "zlib.h"
Go to the source code of this file.
|
| static void | bye (char *msg1, char *msg2) |
| |
| static unsigned | gcd (unsigned a, unsigned b) |
| |
| static void | rotate (unsigned char *list, unsigned len, unsigned rot) |
| |
| static int | readin (file *in) |
| |
| static int | readmore (file *in) |
| |
| static void | skip (file *in, unsigned n) |
| |
| unsigned long | read4 (file *in) |
| |
| static void | gzheader (file *in) |
| |
| static int | gzscan (char *name, z_stream *strm, int level) |
| |
| static void | gztack (char *name, int gd, z_stream *strm, int last) |
| |
| int | main (int argc, char **argv) |
| |
Definition at line 170 of file gzappend.c.
| Class Members |
|
unsigned char * |
buf |
|
|
int |
fd |
|
|
unsigned |
left |
|
|
char * |
name |
|
|
z_const unsigned char * |
next |
|
|
int |
size |
|
| #define CHUNK (1U << LGCHUNK) |
Value: in->left--, *(
in->next)++)
static unsigned in(void *in_desc, z_const unsigned char **buf)
static int readmore(file *in)
Definition at line 198 of file gzappend.c.
| static void bye |
( |
char * |
msg1, |
|
|
char * |
msg2 |
|
) |
| |
|
static |
| static unsigned gcd |
( |
unsigned |
a, |
|
|
unsigned |
b |
|
) |
| |
|
static |
| static void gzheader |
( |
file * |
in | ) |
|
|
static |
| static int gzscan |
( |
char * |
name, |
|
|
z_stream * |
strm, |
|
|
int |
level |
|
) |
| |
|
static |
| static void gztack |
( |
char * |
name, |
|
|
int |
gd, |
|
|
z_stream * |
strm, |
|
|
int |
last |
|
) |
| |
|
static |
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
| unsigned long read4 |
( |
file * |
in | ) |
|
| static int readin |
( |
file * |
in | ) |
|
|
static |
| static int readmore |
( |
file * |
in | ) |
|
|
static |
| static void rotate |
( |
unsigned char * |
list, |
|
|
unsigned |
len, |
|
|
unsigned |
rot |
|
) |
| |
|
static |
| static void skip |
( |
file * |
in, |
|
|
unsigned |
n |
|
) |
| |
|
static |