+ntoskrnl/ke/mutex.c
[reactos.git] / include / dflat32 / htree.h
1 /* ------------------- htree.h -------------------- */
2
3 #ifndef HTREE_H
4 #define HTREE_H
5
6 typedef unsigned int BYTECOUNTER;
7
8 /* ---- Huffman tree structure for building ---- */
9 struct htree    {
10     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 htr    {
18     int right;              /* offset to right child node  */
19     int left;               /* offset to left child node   */
20 };
21
22 extern struct htr *HelpTree;
23
24 void buildtree(void);
25 FILE *OpenHelpFile(void);
26 void HelpFilePosition(long *, int *);
27 void *GetHelpLine(char *);
28 void SeekHelpLine(long, int);
29
30 #endif
31