blast.c File Reference

#include <setjmp.h>
#include "blast.h"

Include dependency graph for blast.c:

Go to the source code of this file.

Data Structures

struct  state
struct  huffman

Defines

#define local   static
#define MAXBITS   13
#define MAXWIN   4096

Functions

local int bits (struct state *s, int need)
local int decode (struct state *s, struct huffman *h)
local int construct (struct huffman *h, const unsigned char *rep, int n)
local int decomp (struct state *s)
int blast (blast_in infun, void *inhow, blast_out outfun, void *outhow)


Define Documentation

#define local   static
 

Definition at line 30 of file blast.c.

Referenced by DOlist(), DOnlst(), file_compress(), file_uncompress(), gz_compress(), gz_uncompress(), if(), mkdifferences(), strtime(), switch(), and writer().

#define MAXBITS   13
 

Definition at line 31 of file blast.c.

Referenced by construct(), decode(), inflate_table(), and inflate_table9().

#define MAXWIN   4096
 

Definition at line 32 of file blast.c.

Referenced by decomp().


Function Documentation

local int bits struct state s,
int  need
 

Definition at line 66 of file blast.c.

References int(), s, and val.

int blast blast_in  infun,
void *  inhow,
blast_out  outfun,
void *  outhow
 

Definition at line 377 of file blast.c.

References decomp(), err, s, and setjmp.

local int construct struct huffman h,
const unsigned char *  rep,
int  n
 

Definition at line 185 of file blast.c.

References huffman::count, if(), left(), length, MAXBITS, and n.

Referenced by decomp(), dynamic(), and fixed().

local int decode struct state s,
struct huffman h
 

Definition at line 123 of file blast.c.

References huffman::count, count, first, index(), left(), MAXBITS, next, s, and huffman::symbol.

local int decomp struct state s  ) 
 

Definition at line 276 of file blast.c.

References base, bits, construct(), copy, decode, extra(), MAXWIN, and s.

Referenced by blast().


Generated on Fri Apr 14 23:20:18 2006 for minix by  doxygen 1.4.6