1 /* 2 * HELP.H 3 * 4 * Written on 10-Jul-94 by John Dennis and released to the public domain. 5 * 6 * Help subsystem structures and function prototypes. 7 */ 8 9 #ifndef __HELP_H__ 10 #define __HELP_H__ 11 12 typedef struct _hfilehdr 13 { 14 char signature[3]; /* must be "cz<null>" */ 15 unsigned char topics[2]; /* number of topics */ 16 } 17 HFileHdr; 18 19 typedef struct _topichdr 20 { 21 long offset; /* offset to the topic */ 22 } 23 HTopicHdr; 24 25 typedef struct _topic 26 { 27 long pages; 28 } 29 HTopic; 30 31 void HelpInit(char *fileName); 32 void DoHelp(int topic); 33 34 #endif 35