Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include "zlib.h"
#include <stdio.h>
Go to the source code of this file.
Macros | |
#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 |
Functions | |
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 (char *msg) const |
void | gz_compress (FILE *in, gzFile out) |
void | gz_uncompress (gzFile in, FILE *out) |
void | file_compress (char *file, char *mode) |
void | file_uncompress (char *file) |
int | main (int argc, argv) |
Variables | |
char * | prog |
#define BUFLEN 16384 |
Definition at line 135 of file minigzip.c.
Referenced by gz_compress(), and gz_uncompress().
#define GZ_SUFFIX ".gz" |
Definition at line 131 of file minigzip.c.
Referenced by file_compress(), and file_uncompress().
#define local |
Definition at line 142 of file minigzip.c.
Referenced by file_compress(), file_uncompress(), gz_compress(), and gz_uncompress().
#define MAX_NAME_LEN 1024 |
Definition at line 136 of file minigzip.c.
Referenced by file_compress(), and file_uncompress().
#define SET_BINARY_MODE | ( | file | ) |
Definition at line 40 of file minigzip.c.
Referenced by main().
Definition at line 133 of file minigzip.c.
Referenced by file_uncompress().
void error | ( | char * | msg | ) | const |
Definition at line 351 of file minigzip.c.
Referenced by gz_compress(), gz_uncompress(), and main().
void file_compress | ( | char * | file, |
char * | mode | ||
) |
Definition at line 457 of file minigzip.c.
References gz_compress(), GZ_SUFFIX, gzopen(), local, MAX_NAME_LEN, NULL, out(), and outfile.
Referenced by main().
void file_uncompress | ( | char * | file | ) |
Definition at line 496 of file minigzip.c.
References GZ_SUFFIX, gz_uncompress(), gzopen(), infile, local, MAX_NAME_LEN, NULL, out(), outfile, and SUFFIX_LEN.
Referenced by main().
Definition at line 556 of file minigzip.c.
References error(), file_compress(), file_uncompress(), gz_compress(), gz_uncompress(), gzdopen(), gzopen(), NULL, and SET_BINARY_MODE.
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) | ) |
char* prog |
Definition at line 336 of file minigzip.c.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:58.
© Copyright Michele Bosi. All rights reserved.