Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

gzio.c File Reference

#include <stdio.h>
#include "zutil.h"

Go to the source code of this file.

Compounds

struct  gz_stream
struct  internal_state

Defines

#define Z_BUFSIZE   16384
#define Z_PRINTF_BUFSIZE   4096
#define ALLOC(size)   malloc(size)
#define TRYFREE(p)   {if (p) free(p);}
#define ASCII_FLAG   0x01
#define HEAD_CRC   0x02
#define EXTRA_FIELD   0x04
#define ORIG_NAME   0x08
#define COMMENT   0x10
#define RESERVED   0xE0

Typedefs

typedef gz_stream gz_stream

Functions

local gzFile gz_open OF ((const char *path, const char *mode, int fd))
local int do_flush OF ((gzFile file, int flush))
local int get_byte OF ((gz_stream *s))
local void putLong OF ((FILE *file, uLong x))
local gzFile gz_open (path, mode, fd) const char *path

Variables

int gz_magic [2] = {0x1f, 0x8b}
char dotest
const char * mode
int fd
int level
int strategy
voidp buf
unsigned len
const char * format
int a1
int a2
int a3
int a4
int a5
int a6
int a7
int a8
int a9
int a10
int a11
int a12
int a13
int a14
int a15
int a16
int a17
int a18
int a19
int a20
int c
const char * s
int flush
z_off_t offset
int whence
uLong x
int * errnum


Define Documentation

#define ALLOC size       malloc(size)
 

Definition at line 27 of file gzio.c.

#define ASCII_FLAG   0x01
 

Definition at line 33 of file gzio.c.

#define COMMENT   0x10
 

Definition at line 37 of file gzio.c.

#define EXTRA_FIELD   0x04
 

Definition at line 35 of file gzio.c.

#define HEAD_CRC   0x02
 

Definition at line 34 of file gzio.c.

#define ORIG_NAME   0x08
 

Definition at line 36 of file gzio.c.

#define RESERVED   0xE0
 

Definition at line 38 of file gzio.c.

#define TRYFREE      {if (p) free(p);}
 

Definition at line 28 of file gzio.c.

#define Z_BUFSIZE   16384
 

Definition at line 20 of file gzio.c.

#define Z_PRINTF_BUFSIZE   4096
 

Definition at line 24 of file gzio.c.


Typedef Documentation

typedef struct gz_stream gz_stream
 


Function Documentation

local void putLong OF (FILE *file, uLong x  
 

local int get_byte OF (gz_stream *s  
 

local int do_flush OF (gzFile file, int flush  
 

local gzFile gz_open OF (const char *path, const char *mode, intfd)   
 

local gzFile gz_open path   ,
mode   ,
fd   
const
 


Variable Documentation

int a1
 

Definition at line 560 of file gzio.c.

int a10
 

Definition at line 560 of file gzio.c.

int a11
 

Definition at line 560 of file gzio.c.

int a12
 

Definition at line 560 of file gzio.c.

int a13
 

Definition at line 560 of file gzio.c.

int a14
 

Definition at line 560 of file gzio.c.

int a15
 

Definition at line 560 of file gzio.c.

int a16
 

Definition at line 560 of file gzio.c.

int a17
 

Definition at line 560 of file gzio.c.

int a18
 

Definition at line 560 of file gzio.c.

int a19
 

Definition at line 560 of file gzio.c.

int a2
 

Definition at line 560 of file gzio.c.

int a20
 

Definition at line 560 of file gzio.c.

int a3
 

Definition at line 560 of file gzio.c.

int a4
 

Definition at line 560 of file gzio.c.

int a5
 

Definition at line 560 of file gzio.c.

int a6
 

Definition at line 560 of file gzio.c.

int a7
 

Definition at line 560 of file gzio.c.

int a8
 

Definition at line 560 of file gzio.c.

int a9
 

Definition at line 560 of file gzio.c.

const voidp buf
 

Definition at line 490 of file gzio.c.

check_func c
 

Definition at line 91 of file infblock.c.

char dotest
 

Definition at line 64 of file gzio.c.

int* errnum
 

Definition at line 868 of file gzio.c.

int fd
 

Definition at line 78 of file gzio.c.

int flush
 

Definition at line 656 of file gzio.c.

const char* format
 

Definition at line 559 of file gzio.c.

int gz_magic[2] = {0x1f, 0x8b} [static]
 

Definition at line 30 of file gzio.c.

unsigned len
 

Definition at line 491 of file gzio.c.

int level
 

Definition at line 213 of file gzio.c.

const char * mode
 

Definition at line 198 of file gzio.c.

z_off_t offset
 

Definition at line 677 of file gzio.c.

const char* s
 

Definition at line 601 of file gzio.c.

int strategy
 

Definition at line 214 of file gzio.c.

int whence
 

Definition at line 678 of file gzio.c.

uLong x
 

Definition at line 806 of file gzio.c.


Generated on Sat Oct 13 16:08:48 2001 for XMILL by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001