Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gzio.c File Reference

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

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

voidp malloc OF ((uInt size))
void free OF ((voidpf ptr))
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 const gz_magic [2] = {0x1f, 0x8b}
const char * mode
int fd
int level
int strategy
voidp buf
unsigned len
gzFile file
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)
 

#define ASCII_FLAG   0x01
 

#define COMMENT   0x10
 

#define EXTRA_FIELD   0x04
 

#define HEAD_CRC   0x02
 

#define ORIG_NAME   0x08
 

#define RESERVED   0xE0
 

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

#define Z_BUFSIZE   16384
 

#define Z_PRINTF_BUFSIZE   4096
 


Typedef Documentation

typedef struct gz_stream gz_stream
 


Function Documentation

local gzFile gz_open path   ,
mode   ,
fd   
const
 

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, int fd  
 

void free OF (voidpf ptr  
 

voidp malloc OF (uInt size)   
 


Variable Documentation

int a1
 

int a10
 

int a11
 

int a12
 

int a13
 

int a14
 

int a15
 

int a16
 

int a17
 

int a18
 

int a19
 

int a2
 

int a20
 

int a3
 

int a4
 

int a5
 

int a6
 

int a7
 

int a8
 

int a9
 

voidpc buf
 

int c
 

int* errnum
 

int fd
 

gzFile file
 

int flush
 

const char* format
 

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

unsigned len
 

int level
 

const char * mode
 

z_off_t offset
 

const char* s
 

int strategy
 

int whence
 

uLong x
 


Generated on Wed Nov 3 12:59:12 2004 for Lemur Toolkit by doxygen1.2.18