diff options
Diffstat (limited to 'docs/module-doc/commands_8h-source.html')
-rw-r--r-- | docs/module-doc/commands_8h-source.html | 213 |
1 files changed, 114 insertions, 99 deletions
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index d1e6d5017..0f09a8152 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -1,106 +1,121 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>commands.h Source File</title> +<title>InspIRCd: commands.h Source File</title> <link href="inspircd.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3-rc3 --> -<center> -<a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> -<hr><h1>commands.h</h1><a href="commands_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __COMMANDS_H</span> -00002 <span class="preprocessor"></span><span class="preprocessor">#define __COMMANDS_H</span> -00003 <span class="preprocessor"></span> -00004 <span class="comment">// include the common header files</span> -00005 -00006 <span class="preprocessor">#include <typeinfo></span> -00007 <span class="preprocessor">#include <iostream></span> -00008 <span class="preprocessor">#include <string></span> -00009 <span class="preprocessor">#include <deque></span> -00010 <span class="preprocessor">#include <sstream></span> -00011 <span class="preprocessor">#include <vector></span> -00012 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> -00013 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> -00014 -00015 -00018 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a0">handle_join</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00019 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a1">handle_part</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00020 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a2">handle_kick</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00021 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a3">handle_die</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00022 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a4">handle_restart</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00023 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a5">handle_kill</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00024 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a6">handle_summon</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00025 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a7">handle_users</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00026 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a8">handle_pass</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00027 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a9">handle_invite</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00028 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a10">handle_topic</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00029 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a11">handle_names</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00030 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a12">handle_privmsg</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00031 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a13">handle_notice</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00032 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a14">handle_info</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00033 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a15">handle_time</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00034 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a16">handle_whois</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00035 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a17">handle_quit</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00036 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a18">handle_who</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00037 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a19">handle_wallops</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00038 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a20">handle_list</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00039 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a21">handle_rehash</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00040 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a22">handle_lusers</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00041 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a23">handle_admin</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00042 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a24">handle_ping</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00043 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a25">handle_pong</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00044 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a26">handle_motd</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00045 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a27">handle_rules</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00046 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a28">handle_user</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00047 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a29">handle_userhost</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00048 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a30">handle_ison</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00049 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a31">handle_away</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00050 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a32">handle_whowas</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00051 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a33">handle_trace</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00052 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a34">handle_modules</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00053 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a35">handle_stats</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00054 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a36">handle_connect</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00055 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a37">handle_squit</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00056 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a38">handle_links</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00057 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a39">handle_map</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00058 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a40">handle_oper</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00059 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a41">handle_nick</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00060 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a42">handle_kline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00061 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a43">handle_gline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00062 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a44">handle_zline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00063 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a45">handle_qline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00064 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a46">handle_server</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00065 -00068 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a47">handle_link_packet</a>(<span class="keywordtype">char</span>* udp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv); -00069 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a48">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port); -00070 -00073 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a49">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00074 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00075 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00076 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00077 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00078 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00079 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00080 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00081 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00082 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00083 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00084 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00085 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00086 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00087 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00088 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00089 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00090 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00091 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a70">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00095 -00098 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a71">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); -00099 -00100 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun May 2 00:09:18 2004 for InspIRCd by +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>commands.h</h1><a href="commands_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> +00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> +00003 <span class="comment"> * +------------------------------------+</span> +00004 <span class="comment"> *</span> +00005 <span class="comment"> * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.</span> +00006 <span class="comment"> * E-mail:</span> +00007 <span class="comment"> * <brain@chatspike.net></span> +00008 <span class="comment"> * <Craig@chatspike.net></span> +00009 <span class="comment"> * </span> +00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +00011 <span class="comment"> * This program is free but copyrighted software; see</span> +00012 <span class="comment"> * the file COPYING for details.</span> +00013 <span class="comment"> *</span> +00014 <span class="comment"> * ---------------------------------------------------</span> +00015 <span class="comment"> */</span> +00016 +00017 <span class="preprocessor">#ifndef __COMMANDS_H</span> +00018 <span class="preprocessor"></span><span class="preprocessor">#define __COMMANDS_H</span> +00019 <span class="preprocessor"></span> +00020 <span class="comment">// include the common header files</span> +00021 +00022 <span class="preprocessor">#include <typeinfo></span> +00023 <span class="preprocessor">#include <iostream></span> +00024 <span class="preprocessor">#include <string></span> +00025 <span class="preprocessor">#include <deque></span> +00026 <span class="preprocessor">#include <sstream></span> +00027 <span class="preprocessor">#include <vector></span> +00028 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00029 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00030 +00031 +00034 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a0">handle_join</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00035 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a1">handle_part</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00036 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a2">handle_kick</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00037 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a3">handle_die</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00038 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a4">handle_restart</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00039 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a5">handle_kill</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00040 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a6">handle_summon</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00041 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a7">handle_users</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00042 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a8">handle_pass</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00043 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a9">handle_invite</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00044 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a10">handle_topic</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00045 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a11">handle_names</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00046 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a12">handle_privmsg</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00047 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a13">handle_notice</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00048 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a14">handle_info</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00049 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a15">handle_time</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00050 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a16">handle_whois</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00051 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a17">handle_quit</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00052 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a18">handle_who</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00053 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a19">handle_wallops</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00054 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a20">handle_list</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00055 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a21">handle_rehash</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00056 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a22">handle_lusers</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00057 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a23">handle_admin</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00058 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a24">handle_ping</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00059 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a25">handle_pong</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00060 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a26">handle_motd</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00061 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a27">handle_rules</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00062 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a28">handle_user</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00063 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a29">handle_userhost</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00064 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a30">handle_ison</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00065 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a31">handle_away</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00066 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a32">handle_whowas</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00067 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a33">handle_trace</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00068 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a34">handle_modules</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00069 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a35">handle_stats</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00070 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a36">handle_connect</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00071 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a37">handle_squit</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00072 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a38">handle_links</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00073 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a39">handle_map</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00074 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a40">handle_oper</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00075 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a41">handle_nick</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00076 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a42">handle_kline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00077 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a43">handle_gline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00078 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a44">handle_zline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00079 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a45">handle_qline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00080 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a46">handle_server</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00081 +00084 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a47">handle_link_packet</a>(<span class="keywordtype">char</span>* udp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv); +00085 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a48">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port); +00086 +00089 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a49">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00090 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00091 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00095 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00096 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00097 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00098 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00099 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00100 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00101 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00102 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00103 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00104 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00105 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00106 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00107 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00108 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00109 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00110 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a70">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00111 +00114 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a71">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); +00115 +00116 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Mar 25 03:49:27 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border=0 -width=110 height=53></a>1.3-rc3 </small></address> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> </body> </html> |