#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <fcntl.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <utime.h>#include "zlib.h"
Go to the source code of this file.
Classes | |
| struct | ind |
| struct | outd |
Macros | |
| #define | FLUSHCODE() |
| #define | local static |
| #define | NEXT() |
| #define | PIECE 16384 /* limits i/o chunks for 16-bit int case */ |
| #define | SIZE 32768U /* input and output buffer sizes */ |
Functions | |
| void | copymeta (char *from, char *to) |
| int | gunpipe (z_stream *strm, int infile, int outfile) |
| int | gunzip (z_stream *strm, char *inname, char *outname, int test) |
| unsigned | in (void *in_desc, z_const unsigned char **buf) |
| int | lunpipe (unsigned have, z_const unsigned char *next, struct ind *indp, int outfile, z_stream *strm) |
| int | main (int argc, char **argv) |
| int | out (void *out_desc, unsigned char *buf, unsigned len) |
Variables | |
| unsigned char | inbuf [SIZE] |
| unsigned char | match [65280+2] |
| unsigned char | outbuf [SIZE] |
| unsigned short | prefix [65536] |
| unsigned char | suffix [65536] |
| #define FLUSHCODE | ( | ) |
Definition at line 171 of file bloaty/third_party/zlib/examples/gun.c.
| #define local static |
Definition at line 73 of file bloaty/third_party/zlib/examples/gun.c.
| #define NEXT | ( | ) |
Definition at line 155 of file bloaty/third_party/zlib/examples/gun.c.
Definition at line 77 of file bloaty/third_party/zlib/examples/gun.c.
Definition at line 76 of file bloaty/third_party/zlib/examples/gun.c.
| void copymeta | ( | char * | from, |
| char * | to | ||
| ) |
Definition at line 517 of file bloaty/third_party/zlib/examples/gun.c.
Definition at line 383 of file bloaty/third_party/zlib/examples/gun.c.
Definition at line 548 of file bloaty/third_party/zlib/examples/gun.c.
| unsigned in | ( | void * | in_desc, |
| z_const unsigned char ** | buf | ||
| ) |
Definition at line 89 of file bloaty/third_party/zlib/examples/gun.c.
| int lunpipe | ( | unsigned | have, |
| z_const unsigned char * | next, | ||
| struct ind * | indp, | ||
| int | outfile, | ||
| z_stream * | strm | ||
| ) |
Definition at line 200 of file bloaty/third_party/zlib/examples/gun.c.
Definition at line 631 of file bloaty/third_party/zlib/examples/gun.c.
| int out | ( | void * | out_desc, |
| unsigned char * | buf, | ||
| unsigned | len | ||
| ) |
Definition at line 131 of file bloaty/third_party/zlib/examples/gun.c.
| unsigned char inbuf[SIZE] |
Definition at line 161 of file bloaty/third_party/zlib/examples/gun.c.
| unsigned char match[65280+2] |
Definition at line 165 of file bloaty/third_party/zlib/examples/gun.c.
| unsigned char outbuf[SIZE] |
Definition at line 162 of file bloaty/third_party/zlib/examples/gun.c.
| unsigned short prefix[65536] |
Definition at line 163 of file bloaty/third_party/zlib/examples/gun.c.
| unsigned char suffix[65536] |
Definition at line 164 of file bloaty/third_party/zlib/examples/gun.c.