]> jfr.im git - irc/quakenet/newserv.git/blame - helpmod2/helpmod_alias.h
Merge chanserv-live into default.
[irc/quakenet/newserv.git] / helpmod2 / helpmod_alias.h
CommitLineData
c86edd1d
Q
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
9typedef 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
17extern alias_tree aliases;
18
19int helpmod_alias_count(alias_tree);
20void helpmod_init_alias(alias_tree*);
21void helpmod_clear_aliases(alias_tree*);
22helpmod_entry helpmod_get_alias(char*);
23void helpmod_add_alias(char*, helpmod_entry);
24
25#endif