zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
infcodes.c File Reference
#include "zutil.h"
#include "inftrees.h"
#include "infblock.h"
#include "infcodes.h"
#include "infutil.h"

Go to the source code of this file.

Macros

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

Enumerations

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

Functions

local int inflate_codes (inflate_blocks_statef *s, z_streamp z, int r)
 
local void inflate_codes_free (inflate_codes_statef *c, z_streamp z)
 
local inflate_codes_statefinflate_codes_new (uInt bl, uInt bd, inflate_huft *tl, inflate_huft *td, z_streamp z)
 

Macro Definition Documentation

#define bits   word.what.Bits

Definition at line 14 of file infcodes.c.

#define exop   word.what.Exop

Definition at line 13 of file infcodes.c.

Enumeration Type Documentation

Enumerator
START 
LEN 
LENEXT 
DIST 
DISTEXT 
COPY 
LIT 
WASH 
END 
BADCODE 

Definition at line 16 of file infcodes.c.

Function Documentation

local void inflate_codes_free ( inflate_codes_statef c,
z_streamp  z 
)

Definition at line 244 of file infcodes.c.

References Tracev, and ZFREE.

Referenced by inflate_blocks(), and inflate_blocks_reset().

local inflate_codes_statef* inflate_codes_new ( uInt  bl,
uInt  bd,
inflate_huft tl,
inflate_huft td,
z_streamp  z 
)

Definition at line 58 of file infcodes.c.

References START, Tracev, Z_NULL, and ZALLOC.

Referenced by inflate_blocks().