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-2005 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 char* CleanFilename(char* name);
00032 bool is_uline(const char* server);
00033 long duration(const char* str);
00034 void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick);
00035 bool host_matches_everyone(std::string mask, userrec* user);
00036 bool ip_matches_everyone(std::string ip, userrec* user);
00037 bool nick_matches_everyone(std::string nick, userrec* user);    
00038 int operstrcmp(char* data,char* input);
00039 
00040 /*       XXX Serious WTFness XXX
00041  *
00042  * Well, unless someone invents a wildcard or
00043  * regexp #include, and makes it a standard,
00044  * we're stuck with this way of including all
00045  * the commands.
00046  */
00047 
00048 #include "cmd_admin.h"
00049 #include "cmd_away.h"
00050 #include "cmd_commands.h"
00051 #include "cmd_connect.h"
00052 #include "cmd_die.h"
00053 #include "cmd_eline.h"
00054 #include "cmd_gline.h"
00055 #include "cmd_info.h"
00056 #include "cmd_invite.h"
00057 #include "cmd_ison.h"
00058 #include "cmd_join.h"
00059 #include "cmd_kick.h"
00060 #include "cmd_kill.h"
00061 #include "cmd_kline.h"
00062 #include "cmd_links.h"
00063 #include "cmd_list.h"
00064 #include "cmd_loadmodule.h"
00065 #include "cmd_lusers.h"
00066 #include "cmd_map.h"
00067 #include "cmd_modules.h"
00068 #include "cmd_motd.h"
00069 #include "cmd_names.h"
00070 #include "cmd_nick.h"
00071 #include "cmd_notice.h"
00072 #include "cmd_oper.h"
00073 #include "cmd_part.h"
00074 #include "cmd_pass.h"
00075 #include "cmd_ping.h"
00076 #include "cmd_pong.h"
00077 #include "cmd_privmsg.h"
00078 #include "cmd_qline.h"
00079 #include "cmd_quit.h"
00080 #include "cmd_rehash.h"
00081 #include "cmd_restart.h"
00082 #include "cmd_rules.h"
00083 #include "cmd_server.h"
00084 #include "cmd_squit.h"
00085 #include "cmd_stats.h"
00086 #include "cmd_summon.h"
00087 #include "cmd_time.h"
00088 #include "cmd_topic.h"
00089 #include "cmd_trace.h"
00090 #include "cmd_unloadmodule.h"
00091 #include "cmd_user.h"
00092 #include "cmd_userhost.h"
00093 #include "cmd_users.h"
00094 #include "cmd_version.h"
00095 #include "cmd_wallops.h"
00096 #include "cmd_who.h"
00097 #include "cmd_whois.h"
00098 #include "cmd_whowas.h"
00099 #include "cmd_zline.h"
00100 
00101 
00102 #endif

Generated on Mon Dec 19 18:02:13 2005 for InspIRCd by  doxygen 1.4.4-20050815