1 /* ------------------- htree.h -------------------- */
6 typedef unsigned int DF_BYTECOUNTER
;
8 /* ---- Huffman tree structure for building ---- */
10 DF_BYTECOUNTER cnt
; /* character frequency */
11 int parent
; /* offset to parent node */
12 int right
; /* offset to right child node */
13 int left
; /* offset to left child node */
16 /* ---- Huffman tree structure in compressed file ---- */
18 int right
; /* offset to right child node */
19 int left
; /* offset to left child node */
22 extern struct DfHTr
*DfHelpTree
;
24 void DfBuildTree(void);
25 FILE *DfOpenHelpFile(void);
26 void DfHelpFilePosition(long *, int *);
27 void *DfGetHelpLine(char *);
28 void DfSeekHelpLine(long, int);