X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..7f4fa1956ee087c272dd260feb6d7e1ef34d641b:/include/parse.h diff --git a/include/parse.h b/include/parse.h index 4335e8e..e4d25e3 100644 --- a/include/parse.h +++ b/include/parse.h @@ -27,20 +27,12 @@ #ifndef INCLUDED_parse_h_h #define INCLUDED_parse_h_h +#include "irc_dictionary.h" #include "tools.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 +41,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 */