Defines | Functions | Variables
minigzip.c File Reference
#include <stdio.h>
#include "zlib.h"
Include dependency graph for minigzip.c:

Go to the source code of this file.

Defines

#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)
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[]))

Variables

char * prog

Define Documentation

#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.


Function Documentation

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.

void gz_compress ( FILE *  in,
gzFile  out 
)

Definition at line 98 of file minigzip.c.

void gz_uncompress ( gzFile  in,
FILE *  out 
)

Definition at line 166 of file minigzip.c.

int main ( int  argc,
argv   
)

Definition at line 269 of file minigzip.c.

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[])  )

Variable Documentation

char* prog

Definition at line 72 of file minigzip.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:20