Classes | Macros | Functions
zlib/contrib/blast/blast.c File Reference
#include <stddef.h>
#include <setjmp.h>
#include "blast.h"
Include dependency graph for zlib/contrib/blast/blast.c:

Go to the source code of this file.

Classes

struct  huffman
 
struct  state
 

Macros

#define local   static /* for local function definitions */
 
#define MAXBITS   13 /* maximum code length */
 
#define MAXWIN   4096 /* maximum window size */
 

Functions

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

Macro Definition Documentation

◆ local

#define local   static /* for local function definitions */

Definition at line 36 of file zlib/contrib/blast/blast.c.

◆ MAXBITS

#define MAXBITS   13 /* maximum code length */

Definition at line 37 of file zlib/contrib/blast/blast.c.

◆ MAXWIN

#define MAXWIN   4096 /* maximum window size */

Definition at line 38 of file zlib/contrib/blast/blast.c.

Function Documentation

◆ bits()

int bits ( struct state s,
int  need 
)

Definition at line 72 of file zlib/contrib/blast/blast.c.

◆ blast()

int blast ( blast_in  infun,
void *  inhow,
blast_out  outfun,
void *  outhow,
unsigned *  left,
unsigned char **  in 
)

Definition at line 383 of file zlib/contrib/blast/blast.c.

◆ construct()

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

Definition at line 191 of file zlib/contrib/blast/blast.c.

◆ decode()

int decode ( struct state s,
struct huffman h 
)

Definition at line 129 of file zlib/contrib/blast/blast.c.

◆ decomp()

int decomp ( struct state s)

Definition at line 282 of file zlib/contrib/blast/blast.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04