Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

commands.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
00002  *       | Inspire Internet Relay Chat Daemon |
00003  *       +------------------------------------+
00004  *
00005  *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
00006  *                       E-mail:
00007  *                <brain@chatspike.net>
00008  *                <Craig@chatspike.net>
00009  *     
00010  * Written by Craig Edwards, Craig McLure, and others.
00011  * This program is free but copyrighted software; see
00012  *            the file COPYING for details.
00013  *
00014  * ---------------------------------------------------
00015  */
00016 
00017 #ifndef __COMMANDS_H
00018 #define __COMMANDS_H
00019 
00020 // include the common header files
00021 
00022 #include <typeinfo>
00023 #include <iostream>
00024 #include <string>
00025 #include <deque>
00026 #include <sstream>
00027 #include <vector>
00028 #include "users.h"
00029 #include "channels.h"
00030 
00031 
00034 void handle_join(char **parameters, int pcnt, userrec *user);
00035 void handle_part(char **parameters, int pcnt, userrec *user);
00036 void handle_kick(char **parameters, int pcnt, userrec *user);
00037 void handle_die(char **parameters, int pcnt, userrec *user);
00038 void handle_restart(char **parameters, int pcnt, userrec *user);
00039 void handle_kill(char **parameters, int pcnt, userrec *user);
00040 void handle_summon(char **parameters, int pcnt, userrec *user);
00041 void handle_users(char **parameters, int pcnt, userrec *user);
00042 void handle_pass(char **parameters, int pcnt, userrec *user);
00043 void handle_invite(char **parameters, int pcnt, userrec *user);
00044 void handle_topic(char **parameters, int pcnt, userrec *user);
00045 void handle_names(char **parameters, int pcnt, userrec *user);
00046 void handle_privmsg(char **parameters, int pcnt, userrec *user);
00047 void handle_notice(char **parameters, int pcnt, userrec *user);
00048 void handle_info(char **parameters, int pcnt, userrec *user);
00049 void handle_time(char **parameters, int pcnt, userrec *user);
00050 void handle_whois(char **parameters, int pcnt, userrec *user);
00051 void handle_quit(char **parameters, int pcnt, userrec *user);
00052 void handle_who(char **parameters, int pcnt, userrec *user);
00053 void handle_wallops(char **parameters, int pcnt, userrec *user);
00054 void handle_list(char **parameters, int pcnt, userrec *user);
00055 void handle_rehash(char **parameters, int pcnt, userrec *user);
00056 void handle_lusers(char **parameters, int pcnt, userrec *user);
00057 void handle_admin(char **parameters, int pcnt, userrec *user);
00058 void handle_ping(char **parameters, int pcnt, userrec *user);
00059 void handle_pong(char **parameters, int pcnt, userrec *user);
00060 void handle_motd(char **parameters, int pcnt, userrec *user);
00061 void handle_rules(char **parameters, int pcnt, userrec *user);
00062 void handle_user(char **parameters, int pcnt, userrec *user);
00063 void handle_userhost(char **parameters, int pcnt, userrec *user);
00064 void handle_ison(char **parameters, int pcnt, userrec *user);
00065 void handle_away(char **parameters, int pcnt, userrec *user);
00066 void handle_whowas(char **parameters, int pcnt, userrec *user);
00067 void handle_trace(char **parameters, int pcnt, userrec *user);
00068 void handle_modules(char **parameters, int pcnt, userrec *user);
00069 void handle_stats(char **parameters, int pcnt, userrec *user);
00070 void handle_connect(char **parameters, int pcnt, userrec *user);
00071 void handle_squit(char **parameters, int pcnt, userrec *user);
00072 void handle_links(char **parameters, int pcnt, userrec *user);
00073 void handle_map(char **parameters, int pcnt, userrec *user);
00074 void handle_oper(char **parameters, int pcnt, userrec *user);
00075 void handle_nick(char **parameters, int pcnt, userrec *user);
00076 void handle_kline(char **parameters, int pcnt, userrec *user);
00077 void handle_gline(char **parameters, int pcnt, userrec *user);
00078 void handle_zline(char **parameters, int pcnt, userrec *user);
00079 void handle_qline(char **parameters, int pcnt, userrec *user);
00080 void handle_eline(char **parameters, int pcnt, userrec *user);
00081 void handle_server(char **parameters, int pcnt, userrec *user);
00082 void handle_loadmodule(char **parameters, int pcnt, userrec *user);
00083 void handle_unloadmodule(char **parameters, int pcnt, userrec *user);
00084 void handle_commands(char **parameters, int pcnt, userrec *user);
00085 
00088 bool is_uline(const char* server);
00089 
00092 long duration(const char* str);
00093 
00094 void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick);
00095 
00096 #endif

Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by  doxygen 1.4.4-20050815