DPRINT->DPRINT1 in key places (when something fails we shouldn't keep silence).
[reactos.git] / rosapps / dflat32 / htree.h
1 /* ------------------- htree.h -------------------- */
2
3 #ifndef HTREE_H
4 #define HTREE_H
5
6 typedef unsigned int DF_BYTECOUNTER;
7
8 /* ---- Huffman tree structure for building ---- */
9 struct DfHTree {
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 */
14 };
15
16 /* ---- Huffman tree structure in compressed file ---- */
17 struct DfHTr {
18 int right; /* offset to right child node */
19 int left; /* offset to left child node */
20 };
21
22 extern struct DfHTr *DfHelpTree;
23
24 void DfBuildTree(void);
25 FILE *DfOpenHelpFile(void);
26 void DfHelpFilePosition(long *, int *);
27 void *DfGetHelpLine(char *);
28 void DfSeekHelpLine(long, int);
29
30 #endif
31