00001 /* +------------------------------------+ 00002 * | Inspire Internet Relay Chat Daemon | 00003 * +------------------------------------+ 00004 * 00005 * Inspire is copyright (C) 2002-2003 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 #include "inspircd_config.h" 00017 #include "inspircd.h" 00018 #include "base.h" 00019 00020 #ifndef __CTABLES_H__ 00021 #define __CTABLES_H__ 00022 00023 typedef void (handlerfunc) (char**, int, userrec*); 00024 00027 class command_t : public classbase 00028 { 00029 public: 00032 char command[MAXBUF]; 00035 handlerfunc *handler_function; 00038 char flags_needed; 00041 int min_params; 00044 long use_count; 00047 long total_bytes; 00048 }; 00049 00050 #endif 00051