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]
Classes | Macros | Typedefs | Functions
gzguts.h File Reference
#include <stdio.h>
#include "zlib.h"
#include <fcntl.h>
#include <errno.h>

Go to the source code of this file.

Classes

struct  gz_state
 

Macros

#define ZLIB_INTERNAL
 
#define local   static
 
#define zstrerror()   strerror(errno)
 
#define DEF_MEM_LEVEL   8
 
#define GZBUFSIZE   8192
 
#define GZ_NONE   0
 
#define GZ_READ   7247
 
#define GZ_WRITE   31153
 
#define GZ_APPEND   1 /* mode set to GZ_WRITE after the file is opened */
 
#define LOOK   0 /* look for a gzip header */
 
#define COPY   1 /* copy input directly */
 
#define GZIP   2 /* decompress a gzip stream */
 
#define GT_OFF(x)   (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
 

Typedefs

typedef gz_state FARgz_statep
 

Functions

voidp malloc OF ((uInt size))
 
void free OF ((voidpf ptr))
 
ZEXTERN gzFile ZEXPORT gzopen64 OF ((const char *, const char *))
 
ZEXTERN z_off64_t ZEXPORT gzseek64 OF ((gzFile, z_off64_t, int))
 
ZEXTERN z_off64_t ZEXPORT gztell64 OF ((gzFile))
 
void ZLIB_INTERNAL gz_error OF ((gz_statep, int, const char *))
 
unsigned ZLIB_INTERNAL gz_intmax OF ((void))
 

Macro Definition Documentation

◆ COPY

#define COPY   1 /* copy input directly */

Definition at line 157 of file gzguts.h.

Referenced by gz_fetch(), gz_look(), gzread(), gzseek64(), inflate(), and inflateMark().

◆ DEF_MEM_LEVEL

#define DEF_MEM_LEVEL   8

Definition at line 140 of file gzguts.h.

◆ GT_OFF

#define GT_OFF (   x)    (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())

Definition at line 208 of file gzguts.h.

Referenced by gz_skip(), gz_zero(), and gzseek64().

◆ GZ_APPEND

#define GZ_APPEND   1 /* mode set to GZ_WRITE after the file is opened */

Definition at line 153 of file gzguts.h.

Referenced by gz_open().

◆ GZ_NONE

#define GZ_NONE   0

Definition at line 150 of file gzguts.h.

Referenced by gz_open().

◆ GZ_READ

#define GZ_READ   7247

◆ GZ_WRITE

#define GZ_WRITE   31153

◆ GZBUFSIZE

#define GZBUFSIZE   8192

Definition at line 147 of file gzguts.h.

Referenced by gz_open().

◆ GZIP

#define GZIP   2 /* decompress a gzip stream */

Definition at line 158 of file gzguts.h.

◆ local

#define local   static

Definition at line 107 of file gzguts.h.

◆ LOOK

#define LOOK   0 /* look for a gzip header */

Definition at line 156 of file gzguts.h.

Referenced by gz_decomp(), gz_fetch(), gz_reset(), gzdirect(), and gzread().

◆ ZLIB_INTERNAL

#define ZLIB_INTERNAL

Definition at line 18 of file gzguts.h.

◆ zstrerror

#define zstrerror ( )    strerror(errno)

Definition at line 124 of file gzguts.h.

Typedef Documentation

◆ gz_statep

Definition at line 193 of file gzguts.h.

Function Documentation

◆ OF() [1/7]

voidp malloc OF ( (uInt size )

◆ OF() [2/7]

void free OF ( (voidpf ptr )

◆ OF() [3/7]

ZEXTERN gzFile ZEXPORT gzopen64 OF ( (const char *, const char *)  )

◆ OF() [4/7]

◆ OF() [5/7]

◆ OF() [6/7]

◆ OF() [7/7]

unsigned ZLIB_INTERNAL gz_intmax OF ( (void )