Go to the source code of this file.
Macros | |
#define | BUFLEN 16384 |
#define | GZ_SUFFIX ".gz" |
#define | local |
#define | MAX_NAME_LEN 1024 |
#define | SET_BINARY_MODE(file) |
#define | SUFFIX_LEN (sizeof(GZ_SUFFIX)-1) |
Functions | |
void | error (char *msg) const |
void | file_compress (char *file, char *mode) |
void | file_uncompress (char *file) |
void | gz_compress (FILE *in, gzFile out) |
void | gz_uncompress (gzFile in, FILE *out) |
int | main (int argc, argv) |
void file_uncompress | OF ((char *file)) |
void file_compress | OF ((char *file, char *mode)) |
int unlink | OF ((const char *)) |
void error | OF ((const char *msg)) |
void gz_compress | OF ((FILE *in, gzFile out)) |
void gz_uncompress | OF ((gzFile in, FILE *out)) |
int main | OF ((int argc, char *argv[])) |
Variables | |
char * | prog |
#define BUFLEN 16384 |
Definition at line 62 of file minigzip.c.
#define GZ_SUFFIX ".gz" |
Definition at line 58 of file minigzip.c.
#define local |
Definition at line 69 of file minigzip.c.
#define MAX_NAME_LEN 1024 |
Definition at line 63 of file minigzip.c.
#define SET_BINARY_MODE | ( | file | ) |
Definition at line 37 of file minigzip.c.
#define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1) |
Definition at line 60 of file minigzip.c.
void error | ( | char * | msg | ) | const |
Definition at line 87 of file minigzip.c.
void file_compress | ( | char * | file, |
char * | mode | ||
) |
Definition at line 193 of file minigzip.c.
void file_uncompress | ( | char * | file | ) |
Definition at line 223 of file minigzip.c.
Definition at line 98 of file minigzip.c.
Definition at line 166 of file minigzip.c.
Definition at line 269 of file minigzip.c.
void file_uncompress OF | ( | (char *file) | ) |
void file_compress OF | ( | (char *file, char *mode) | ) |
void gz_compress OF | ( | (FILE *in, gzFile out) | ) |
void gz_uncompress OF | ( | (gzFile in, FILE *out) | ) |
char* prog |
Definition at line 72 of file minigzip.c.