summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/ctables.h b/include/ctables.h
index 5926f3a2a..2dadca42d 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -18,12 +18,15 @@
#define __CTABLES_H__
#include "inspircd_config.h"
-#include "inspircd.h"
-#include "base.h"
+#include <deque>
+
+class userrec;
+
+typedef void (handlerfunc) (char**, int, userrec*);
/** A structure that defines a command
*/
-class command_t : public Extensible
+class command_t
{
public:
/** Command name
@@ -49,5 +52,7 @@ class command_t : public Extensible
char source[MAXBUF];
};
+typedef std::deque<command_t> command_table;
+
#endif