File: huffman.h

package info (click to toggle)
macutils 2.0b3-17
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,256 kB
  • sloc: ansic: 12,737; makefile: 661
file content (15 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define	HUFF_BE		0
#define	HUFF_LE		1

typedef struct node {
    int flag, byte;
    struct node *one, *zero;
} node;

extern int (*get_bit)();
extern void clrhuff();

extern struct node nodelist[];
extern int bytesread;

extern int gethuffbyte(node *);