diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-19 10:55:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-19 10:55:42 +0000 |
commit | 16a9b0f58f232e5b754ea40975ed55db593fd383 (patch) | |
tree | a33f48c05fbf62cac2fa4ac5c68e13aa9cdad8f5 /include | |
parent | 1057bf490003a4a6ead14c5c2d8c025a11f1a03d (diff) |
These files now hold the command handler functions
(except handle_version which needs the revision id of the main file)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@673 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/commands.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h new file mode 100644 index 000000000..4840424c9 --- /dev/null +++ b/include/commands.h @@ -0,0 +1,59 @@ +#ifndef __COMMANDS_H +#define __COMMANDS_H + +// include the common header files + +#include <typeinfo> +#include <iostream> +#include <string> +#include <deque> +#include <sstream> +#include <vector> +#include "users.h" +#include "channels.h" + +void handle_join(char **parameters, int pcnt, userrec *user); +void handle_part(char **parameters, int pcnt, userrec *user); +void handle_kick(char **parameters, int pcnt, userrec *user); +void handle_die(char **parameters, int pcnt, userrec *user); +void handle_restart(char **parameters, int pcnt, userrec *user); +void handle_kill(char **parameters, int pcnt, userrec *user); +void handle_summon(char **parameters, int pcnt, userrec *user); +void handle_users(char **parameters, int pcnt, userrec *user); +void handle_pass(char **parameters, int pcnt, userrec *user); +void handle_invite(char **parameters, int pcnt, userrec *user); +void handle_topic(char **parameters, int pcnt, userrec *user); +void handle_names(char **parameters, int pcnt, userrec *user); +void handle_privmsg(char **parameters, int pcnt, userrec *user); +void handle_notice(char **parameters, int pcnt, userrec *user); +void handle_info(char **parameters, int pcnt, userrec *user); +void handle_time(char **parameters, int pcnt, userrec *user); +void handle_whois(char **parameters, int pcnt, userrec *user); +void handle_quit(char **parameters, int pcnt, userrec *user); +void handle_who(char **parameters, int pcnt, userrec *user); +void handle_wallops(char **parameters, int pcnt, userrec *user); +void handle_list(char **parameters, int pcnt, userrec *user); +void handle_rehash(char **parameters, int pcnt, userrec *user); +void handle_lusers(char **parameters, int pcnt, userrec *user); +void handle_admin(char **parameters, int pcnt, userrec *user); +void handle_ping(char **parameters, int pcnt, userrec *user); +void handle_pong(char **parameters, int pcnt, userrec *user); +void handle_motd(char **parameters, int pcnt, userrec *user); +void handle_rules(char **parameters, int pcnt, userrec *user); +void handle_user(char **parameters, int pcnt, userrec *user); +void handle_userhost(char **parameters, int pcnt, userrec *user); +void handle_ison(char **parameters, int pcnt, userrec *user); +void handle_away(char **parameters, int pcnt, userrec *user); +void handle_whowas(char **parameters, int pcnt, userrec *user); +void handle_trace(char **parameters, int pcnt, userrec *user); +void handle_modules(char **parameters, int pcnt, userrec *user); +void handle_stats(char **parameters, int pcnt, userrec *user); +void handle_connect(char **parameters, int pcnt, userrec *user); +void handle_squit(char **parameters, int pcnt, userrec *user); +void handle_links(char **parameters, int pcnt, userrec *user); +void handle_map(char **parameters, int pcnt, userrec *user); +void handle_oper(char **parameters, int pcnt, userrec *user); +void handle_nick(char **parameters, int pcnt, userrec *user); + + +#endif |