Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
gzguts.h File Reference
#include <stdio.h>
#include <unistd.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.

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_stategz_statep
 

Functions

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

Class Documentation

struct gz_state

Definition at line 162 of file gzguts.h.

Collaboration diagram for gz_state:
Collaboration graph
Class Members
int direct
int eof
int err
int fd
int how
unsigned char * in
int level
int mode
char * msg
unsigned char * out
int past
char * path
int seek
unsigned size
long skip
long start
int strategy
z_stream strm
unsigned want
struct gzFile_s x

Macro Definition Documentation

#define COPY   1 /* copy input directly */

Definition at line 158 of file gzguts.h.

#define DEF_MEM_LEVEL   8

Definition at line 141 of file gzguts.h.

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

Definition at line 209 of file gzguts.h.

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

Definition at line 154 of file gzguts.h.

#define GZ_NONE   0

Definition at line 151 of file gzguts.h.

#define GZ_READ   7247

Definition at line 152 of file gzguts.h.

#define GZ_WRITE   31153

Definition at line 153 of file gzguts.h.

#define GZBUFSIZE   8192

Definition at line 148 of file gzguts.h.

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

Definition at line 159 of file gzguts.h.

#define local   static

Definition at line 108 of file gzguts.h.

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

Definition at line 157 of file gzguts.h.

#define ZLIB_INTERNAL

Definition at line 18 of file gzguts.h.

#define zstrerror ( )    strerror(errno)

Definition at line 125 of file gzguts.h.

Typedef Documentation

typedef gz_state* gz_statep

Definition at line 194 of file gzguts.h.

Function Documentation

void free ( )
void gz_error ( )
unsigned gz_intmax ( )

Definition at line 622 of file gzlib.c.

long gzoffset64 ( )
gzFile gzopen64 ( )
long gzseek64 ( )
long gztell64 ( )
voidp malloc ( )