00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __COMMANDS_H
00018 #define __COMMANDS_H
00019
00020
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
00041
00042
00043
00044
00045
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