Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

commands.h

Go to the documentation of this file.
00001 #ifndef __COMMANDS_H
00002 #define __COMMANDS_H
00003 
00004 // include the common header files
00005 
00006 #include <typeinfo>
00007 #include <iostream>
00008 #include <string>
00009 #include <deque>
00010 #include <sstream>
00011 #include <vector>
00012 #include "users.h"
00013 #include "channels.h"
00014 
00015 
00018 void handle_join(char **parameters, int pcnt, userrec *user);
00019 void handle_part(char **parameters, int pcnt, userrec *user);
00020 void handle_kick(char **parameters, int pcnt, userrec *user);
00021 void handle_die(char **parameters, int pcnt, userrec *user);
00022 void handle_restart(char **parameters, int pcnt, userrec *user);
00023 void handle_kill(char **parameters, int pcnt, userrec *user);
00024 void handle_summon(char **parameters, int pcnt, userrec *user);
00025 void handle_users(char **parameters, int pcnt, userrec *user);
00026 void handle_pass(char **parameters, int pcnt, userrec *user);
00027 void handle_invite(char **parameters, int pcnt, userrec *user);
00028 void handle_topic(char **parameters, int pcnt, userrec *user);
00029 void handle_names(char **parameters, int pcnt, userrec *user);
00030 void handle_privmsg(char **parameters, int pcnt, userrec *user);
00031 void handle_notice(char **parameters, int pcnt, userrec *user);
00032 void handle_info(char **parameters, int pcnt, userrec *user);
00033 void handle_time(char **parameters, int pcnt, userrec *user);
00034 void handle_whois(char **parameters, int pcnt, userrec *user);
00035 void handle_quit(char **parameters, int pcnt, userrec *user);
00036 void handle_who(char **parameters, int pcnt, userrec *user);
00037 void handle_wallops(char **parameters, int pcnt, userrec *user);
00038 void handle_list(char **parameters, int pcnt, userrec *user);
00039 void handle_rehash(char **parameters, int pcnt, userrec *user);
00040 void handle_lusers(char **parameters, int pcnt, userrec *user);
00041 void handle_admin(char **parameters, int pcnt, userrec *user);
00042 void handle_ping(char **parameters, int pcnt, userrec *user);
00043 void handle_pong(char **parameters, int pcnt, userrec *user);
00044 void handle_motd(char **parameters, int pcnt, userrec *user);
00045 void handle_rules(char **parameters, int pcnt, userrec *user);
00046 void handle_user(char **parameters, int pcnt, userrec *user);
00047 void handle_userhost(char **parameters, int pcnt, userrec *user);
00048 void handle_ison(char **parameters, int pcnt, userrec *user);
00049 void handle_away(char **parameters, int pcnt, userrec *user);
00050 void handle_whowas(char **parameters, int pcnt, userrec *user);
00051 void handle_trace(char **parameters, int pcnt, userrec *user);
00052 void handle_modules(char **parameters, int pcnt, userrec *user);
00053 void handle_stats(char **parameters, int pcnt, userrec *user);
00054 void handle_connect(char **parameters, int pcnt, userrec *user);
00055 void handle_squit(char **parameters, int pcnt, userrec *user);
00056 void handle_links(char **parameters, int pcnt, userrec *user);
00057 void handle_map(char **parameters, int pcnt, userrec *user);
00058 void handle_oper(char **parameters, int pcnt, userrec *user);
00059 void handle_nick(char **parameters, int pcnt, userrec *user);
00060 void handle_kline(char **parameters, int pcnt, userrec *user);
00061 void handle_gline(char **parameters, int pcnt, userrec *user);
00062 void handle_zline(char **parameters, int pcnt, userrec *user);
00063 void handle_qline(char **parameters, int pcnt, userrec *user);
00064 
00065 
00068 void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv);
00069 void process_restricted_commands(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host,char* ipaddr,int port);
00070 
00073 void handle_amp(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00074 void handle_dollar(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00075 void handle_J(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00076 void handle_R(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00077 void handle_plus(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00078 void handle_b(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00079 void handle_a(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00080 void handle_F(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00081 void handle_N(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00082 void handle_AT(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00083 void handle_k(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00084 void handle_n(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00085 void handle_Q(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00086 void handle_K(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00087 void handle_L(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00088 void handle_m(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00089 void handle_M(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00090 void handle_T(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00091 void handle_t(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00092 void handle_i(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00093 void handle_P(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00094 void handle_V(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
00095 
00098 bool is_uline(const char* server);
00099 
00100 #endif

Generated on Sat May 1 20:57:47 2004 for InspIRCd by doxygen1.3-rc3