pngcrush  1.8.13
About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
  Fossies Dox: pngcrush-1.8.13.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

gzguts.h File Reference
#include <stdio.h>
#include "zlib.h"
#include <fcntl.h>
#include <errno.h>
Include dependency graph for gzguts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gz_state
 

Macros

#define ZLIB_INTERNAL
 
#define _POSIX_SOURCE
 
#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_stategz_statep
 

Functions

voidp malloc ()
 
void free ()
 
gzFile gzopen64 ()
 
long gzseek64 ()
 
long gztell64 ()
 
long gzoffset64 ()
 
void gz_error ()
 
unsigned gz_intmax ()
 

Macro Definition Documentation

◆ _POSIX_SOURCE

#define _POSIX_SOURCE

Definition at line 34 of file gzguts.h.

◆ COPY

#define COPY   1 /* copy input directly */

Definition at line 170 of file gzguts.h.

◆ DEF_MEM_LEVEL

#define DEF_MEM_LEVEL   8

Definition at line 153 of file gzguts.h.

◆ GT_OFF

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

Definition at line 221 of file gzguts.h.

◆ GZ_APPEND

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

Definition at line 166 of file gzguts.h.

◆ GZ_NONE

#define GZ_NONE   0

Definition at line 163 of file gzguts.h.

◆ GZ_READ

#define GZ_READ   7247

Definition at line 164 of file gzguts.h.

◆ GZ_WRITE

#define GZ_WRITE   31153

Definition at line 165 of file gzguts.h.

◆ GZBUFSIZE

#define GZBUFSIZE   8192

Definition at line 160 of file gzguts.h.

◆ GZIP

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

Definition at line 171 of file gzguts.h.

◆ local

#define local   static

Definition at line 118 of file gzguts.h.

◆ LOOK

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

Definition at line 169 of file gzguts.h.

◆ ZLIB_INTERNAL

#define ZLIB_INTERNAL

Definition at line 22 of file gzguts.h.

◆ zstrerror

#define zstrerror ( )    strerror(errno)

Definition at line 137 of file gzguts.h.

Typedef Documentation

◆ gz_statep

typedef gz_state* gz_statep

Definition at line 206 of file gzguts.h.

Function Documentation

◆ free()

◆ gz_error()

◆ gz_intmax()

unsigned gz_intmax ( )

Definition at line 626 of file gzlib.c.

◆ gzoffset64()

long gzoffset64 ( )

◆ gzopen64()

gzFile gzopen64 ( )

◆ gzseek64()

long gzseek64 ( )

◆ gztell64()

long gztell64 ( )

◆ malloc()