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

infcodes.c File Reference

#include "zutil.h"
#include "inftrees.h"
#include "infblock.h"
#include "infcodes.h"
#include "infutil.h"
#include "inffast.h"

Go to the source code of this file.

Compounds

struct  inflate_codes_state

Defines

#define exop   word.what.Exop
#define bits   word.what.Bits

Enumerations

enum  inflate_codes_mode {
  START, LEN, LENEXT, DIST,
  DISTEXT, COPY, LIT, WASH,
  END, BADCODE
}

Functions

inflate_codes_statefinflate_codes_new (bl, bd, tl, td, z) uInt bl, bd

Variables

inflate_hufttl
inflate_hufttd
z_streamp z
int r


Define Documentation

#define bits   word.what.Bits
 

Definition at line 15 of file infcodes.c.

#define exop   word.what.Exop
 

Definition at line 14 of file infcodes.c.


Enumeration Type Documentation

enum inflate_codes_mode
 

Enumeration values:
START 
LEN 
LENEXT 
DIST 
DISTEXT 
COPY 
LIT 
WASH 
END 
BADCODE 

Definition at line 17 of file infcodes.c.

00017              {        /* waiting for "i:"=input, "o:"=output, "x:"=nothing */
00018       START,    /* x: set up for LEN */
00019       LEN,      /* i: get length/literal/eob next */
00020       LENEXT,   /* i: getting length extra (have base) */
00021       DIST,     /* i: get distance next */
00022       DISTEXT,  /* i: getting distance extra */
00023       COPY,     /* o: copying bytes in window, waiting for space */
00024       LIT,      /* o: got literal, waiting for output space */
00025       WASH,     /* o: got eob, possibly still output waiting */
00026       END,      /* x: got eob and all data flushed */
00027       BADCODE}  /* x: got error */


Function Documentation

inflate_codes_statef* inflate_codes_new bl   ,
bd   ,
tl   ,
td   ,
z   
 

Referenced by r().


Variable Documentation

int r
 

Definition at line 84 of file infcodes.c.

inflate_huft *FAR * td
 

Definition at line 403 of file inftrees.c.

inflate_huft *FAR * tl
 

Definition at line 402 of file inftrees.c.

z_streamp z
 

Definition at line 253 of file infcodes.c.


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