1 #ifndef HELPMOD_ENTRIES_H
2 #define HELPMOD_ENTRIES_H
4 #include "../lib/sstring.h"
15 typedef struct helpmod_entry_struct
17 struct helpmod_entry_struct
* parent
;
18 unsigned short int option_count
;
19 unsigned short int text_lines
;
23 struct helpmod_entry_struct
** options
;
26 extern struct helpmod_parsed_line_struct
30 HM_line_type line_type
;
31 } helpmod_parsed_line
;
33 extern helpmod_entry helpmod_base
;
35 int helpmod_valid_selection(helpmod_entry
, int);
36 helpmod_entry
helpmod_make_selection(helpmod_entry
, int);
37 void helpmod_init_entries(void);
38 void helpmod_init_entry(helpmod_entry
*);
39 void helpmod_clear_all_entries(void);
40 void helpmod_load_entries(char*);
41 void helpmod_load_entry(helpmod_entry
*, FILE*, int, helpmod_entry
);
42 void helpmod_parse_line(FILE*);
43 void helpmod_clear_entries(helpmod_entry
);
44 long helpmod_entry_count(helpmod_entry
);