Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "zlib.h"
Go to the source code of this file.
Macros | |
#define | SET_BINARY_MODE(file) |
#define | CHUNK 16384 |
Functions | |
int | def (FILE *source, FILE *dest, int level) |
int | inf (FILE *source, FILE *dest) |
void | zerr (int ret) |
int | main (int argc, char **argv) |
Definition at line 36 of file zpipe.c.
References z_stream_s::avail_in, z_stream_s::avail_out, CHUNK, deflate(), deflateEnd(), deflateInit, flush, z_stream_s::next_in, z_stream_s::next_out, z_stream_s::opaque, out(), void(), Z_ERRNO, Z_FINISH, Z_NO_FLUSH, Z_NULL, Z_OK, Z_STREAM_END, Z_STREAM_ERROR, z_stream_s::zalloc, and z_stream_s::zfree.
Referenced by main().
int inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 92 of file zpipe.c.
References z_stream_s::avail_in, z_stream_s::avail_out, CHUNK, inflate(), inflateEnd(), inflateInit, z_stream_s::next_in, z_stream_s::next_out, z_stream_s::opaque, out(), void(), Z_DATA_ERROR, Z_ERRNO, Z_MEM_ERROR, Z_NEED_DICT, Z_NO_FLUSH, Z_NULL, Z_OK, Z_STREAM_END, Z_STREAM_ERROR, z_stream_s::zalloc, and z_stream_s::zfree.
Definition at line 176 of file zpipe.c.
References def(), inf(), SET_BINARY_MODE, Z_DEFAULT_COMPRESSION, Z_OK, and zerr().
Definition at line 151 of file zpipe.c.
References Z_DATA_ERROR, Z_ERRNO, Z_MEM_ERROR, Z_STREAM_ERROR, and Z_VERSION_ERROR.
Referenced by main().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:58.
© Copyright Michele Bosi. All rights reserved.