diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-19 14:49:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-19 14:49:20 +0000 |
commit | 6328b337116757e9a71cce112c7d1862d80255bf (patch) | |
tree | b2a675f9d6f31b14f2d7fb75945c3efe2e1be737 /include/commands.h | |
parent | 16a9b0f58f232e5b754ea40975ed55db593fd383 (diff) |
Changed occurances of udp_host to tcp_host for readability
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@674 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h index 4840424c9..f092423ab 100644 --- a/include/commands.h +++ b/include/commands.h @@ -12,6 +12,9 @@ #include "users.h" #include "channels.h" + +/** These are the handlers for user commands + */ 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); @@ -55,5 +58,35 @@ 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); +/** Special functions for processing server to server traffic + */ +void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv); +void process_restricted_commands(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host,char* ipaddr,int port); + +/** These are the handlers for server commands (tokens) + */ +void handle_amp(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_dollar(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_J(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_R(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_plus(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_b(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_a(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_F(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_N(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_AT(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_k(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_n(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_Q(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_K(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_L(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_m(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_M(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_T(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_t(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_i(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_P(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); +void handle_V(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host); + #endif |