X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..36fb4e9a7743326d1a2ca7601bc9bf1c5b9a0bcb:/include/parse.h?ds=sidebyside diff --git a/include/parse.h b/include/parse.h index 4335e8e..27772fa 100644 --- a/include/parse.h +++ b/include/parse.h @@ -27,20 +27,11 @@ #ifndef INCLUDED_parse_h_h #define INCLUDED_parse_h_h -#include "tools.h" +#include "irc_dictionary.h" struct Message; struct Client; -struct MessageHash -{ - char *cmd; - struct Message *msg; - struct MessageHash *next; -}; - -#define MAX_MSG_HASH 387 - extern void parse(struct Client *, char *, char *); extern void handle_encap(struct Client *, struct Client *, const char *, int, const char *parv[]); @@ -49,6 +40,6 @@ extern void mod_add_cmd(struct Message *msg); extern void mod_del_cmd(struct Message *msg); extern void report_messages(struct Client *); -extern dlink_list alias_hash_table[MAX_MSG_HASH]; +extern struct Dictionary *alias_dict; #endif /* INCLUDED_parse_h_h */