]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands.h
Added CullList class
[user/henk/code/inspircd.git] / include / commands.h
index 4840424c92526312030618ea18504a52d369d7c1..6690d16c0e4b73688fad984e65c5cce3efa0bbdb 100644 (file)
@@ -1,3 +1,19 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ *                       E-mail:
+ *                <brain@chatspike.net>
+ *               <Craig@chatspike.net>
+ *     
+ * Written by Craig Edwards, Craig McLure, and others.
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #ifndef __COMMANDS_H
 #define __COMMANDS_H
 
@@ -12,6 +28,9 @@
 #include "users.h"
 #include "channels.h"
 
+
+/** These are the handlers for user commands
+ */
 void handle_join(char **parameters, int pcnt, userrec *user);
 void handle_part(char **parameters, int pcnt, userrec *user);
 void handle_kick(char **parameters, int pcnt, userrec *user);
@@ -54,6 +73,24 @@ void handle_links(char **parameters, int pcnt, userrec *user);
 void handle_map(char **parameters, int pcnt, userrec *user);
 void handle_oper(char **parameters, int pcnt, userrec *user);
 void handle_nick(char **parameters, int pcnt, userrec *user);
+void handle_kline(char **parameters, int pcnt, userrec *user);
+void handle_gline(char **parameters, int pcnt, userrec *user);
+void handle_zline(char **parameters, int pcnt, userrec *user);
+void handle_qline(char **parameters, int pcnt, userrec *user);
+void handle_eline(char **parameters, int pcnt, userrec *user);
+void handle_server(char **parameters, int pcnt, userrec *user);
+void handle_loadmodule(char **parameters, int pcnt, userrec *user);
+void handle_unloadmodule(char **parameters, int pcnt, userrec *user);
+void handle_commands(char **parameters, int pcnt, userrec *user);
+
+/** Functions for u:lined servers
+ */
+bool is_uline(const char* server);
+
+/** Other useful functions
+ */
+long duration(const char* str);
 
+void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick);
 
 #endif