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

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
 

Macro Definition Documentation

◆ BUFLEN

#define BUFLEN   16384

Definition at line 62 of file minigzip.c.

◆ GZ_SUFFIX

#define GZ_SUFFIX   ".gz"

Definition at line 58 of file minigzip.c.

◆ local

#define local

Definition at line 69 of file minigzip.c.

◆ MAX_NAME_LEN

#define MAX_NAME_LEN   1024

Definition at line 63 of file minigzip.c.

◆ SET_BINARY_MODE

#define SET_BINARY_MODE (   file)

Definition at line 37 of file minigzip.c.

◆ SUFFIX_LEN

#define SUFFIX_LEN   (sizeof(GZ_SUFFIX)-1)

Definition at line 60 of file minigzip.c.

Function Documentation

◆ error()

void error ( char *  msg) const

Definition at line 87 of file minigzip.c.

◆ file_compress()

void file_compress ( char *  file,
char *  mode 
)

Definition at line 193 of file minigzip.c.

◆ file_uncompress()

void file_uncompress ( char *  file)

Definition at line 223 of file minigzip.c.

◆ gz_compress()

void gz_compress ( FILE *  in,
gzFile  out 
)

Definition at line 98 of file minigzip.c.

◆ gz_uncompress()

void gz_uncompress ( gzFile  in,
FILE *  out 
)

Definition at line 166 of file minigzip.c.

◆ main()

int main ( int  argc,
argv   
)

Definition at line 269 of file minigzip.c.

◆ OF() [1/7]

void file_uncompress OF ( (char *file)  )

◆ OF() [2/7]

void file_compress OF ( (char *file, char *mode)  )

◆ OF() [3/7]

int unlink OF ( (const char *)  )

◆ OF() [4/7]

void error OF ( (const char *msg)  )

◆ OF() [5/7]

void gz_compress OF ( (FILE *in, gzFile out)  )

◆ OF() [6/7]

void gz_uncompress OF ( (gzFile in, FILE *out)  )

◆ OF() [7/7]

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

Variable Documentation

◆ prog

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 Wed Sep 7 2022 02:51:05