Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
zpipe.c File Reference
#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)
 

Macro Definition Documentation

◆ CHUNK

#define CHUNK   16384

Definition at line 28 of file zpipe.c.

Referenced by def(), and inf().

◆ SET_BINARY_MODE

#define SET_BINARY_MODE (   file)

Definition at line 25 of file zpipe.c.

Referenced by main().

Function Documentation

◆ def()

int def ( FILE *  source,
FILE *  dest,
int  level 
)

◆ inf()

int inf ( FILE *  source,
FILE *  dest 
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 176 of file zpipe.c.

References def(), inf(), SET_BINARY_MODE, Z_DEFAULT_COMPRESSION, Z_OK, and zerr().

◆ zerr()

void zerr ( int  ret)

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().