Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

minigzip.c File Reference

#include <stdio.h>
#include <time.h>
#include "zlib.h"

Go to the source code of this file.


#define SET_BINARY_MODE(file)
#define GZ_SUFFIX   ".gz"
#define SUFFIX_LEN   (sizeof(GZ_SUFFIX)-1)
#define BUFLEN   16384
#define MAX_NAME_LEN   1024
#define local


void exit OF ((int))
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))
void file_compress OF ((char *file, char *mode))
void file_uncompress OF ((char *file))
int main OF ((int argc, char *argv[]))
void error (msg) const char *msg


char * prog
char dotest = 0
char use_stdout = 0
gzFile out
char * mode
char * argv []

Define Documentation

#define BUFLEN   16384

Definition at line 65 of file minigzip.c.

#define GZ_SUFFIX   ".gz"

Definition at line 61 of file minigzip.c.

#define MAX_NAME_LEN   1024

Definition at line 66 of file minigzip.c.

#define SET_BINARY_MODE file   

Definition at line 40 of file minigzip.c.

#define SUFFIX_LEN   (sizeof(GZ_SUFFIX)-1)

Definition at line 63 of file minigzip.c.

#define local

Definition at line 72 of file minigzip.c.

Function Documentation

int main OF (int argc, char *argv[])   

void file_uncompress OF (char *file)   

void file_compress OF (char *file, char *mode  

void gz_uncompress OF (gzFile in, FILE *out  

void gz_compress OF (FILE *in, gzFile out  

void error OF (const char *msg)   

int unlink OF (const char *)   

void exit OF (int)   

void error msg    const

Referenced by out().

Variable Documentation

char* argv[]

Definition at line 310 of file minigzip.c.

char dotest = 0

Definition at line 92 of file minigzip.c.

char* mode

Definition at line 216 of file minigzip.c.

FILE * out

Definition at line 182 of file minigzip.c.

char* prog

Definition at line 75 of file minigzip.c.

char use_stdout = 0

Definition at line 93 of file minigzip.c.

Generated on Sat Oct 13 16:08:49 2001 for XMILL by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001