]>
Commit | Line | Data |
---|---|---|
1 | #ifndef HELPMOD_ALIAS_C | |
2 | #define HELPMOD_ALIAS_C | |
3 | ||
4 | #include "../lib/sstring.h" | |
5 | #include "helpmod_entries.h" | |
6 | #include <string.h> | |
7 | #include <ctype.h> | |
8 | ||
9 | typedef struct alias_tree_struct | |
10 | { | |
11 | sstring* name; | |
12 | helpmod_entry state; | |
13 | struct alias_tree_struct* left; | |
14 | struct alias_tree_struct* right; | |
15 | }* alias_tree; | |
16 | ||
17 | extern alias_tree aliases; | |
18 | ||
19 | int helpmod_alias_count(alias_tree); | |
20 | void helpmod_init_alias(alias_tree*); | |
21 | void helpmod_clear_aliases(alias_tree*); | |
22 | helpmod_entry helpmod_get_alias(char*); | |
23 | void helpmod_add_alias(char*, helpmod_entry); | |
24 | ||
25 | #endif |