summaryrefslogtreecommitdiff
path: root/src/map/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/channel.h')
-rw-r--r--src/map/channel.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/map/channel.h b/src/map/channel.h
index ac1c8f0cb..4ac3c6037 100644
--- a/src/map/channel.h
+++ b/src/map/channel.h
@@ -21,12 +21,14 @@
#define MAP_CHANNEL_H
#include "common/hercules.h"
-#include "common/db.h"
#include "common/mmo.h"
+#include "map/map.h" // EVENT_NAME_LENGTH, MAX_EVENTQUEUE
+
/**
* Declarations
**/
+struct DBMap; // common/db.h
struct map_session_data;
struct guild;
@@ -83,8 +85,9 @@ struct channel_data {
char name[HCS_NAME_LENGTH];
char password[HCS_NAME_LENGTH];
unsigned char color;
- DBMap *users;
- DBMap *banned;
+ struct DBMap *users;
+ struct DBMap *banned;
+ char handlers[MAX_EVENTQUEUE][EVENT_NAME_LENGTH];
unsigned int options;
unsigned int owner;
enum channel_types type;
@@ -94,7 +97,7 @@ struct channel_data {
struct channel_interface {
/* vars */
- DBMap *db;
+ struct DBMap *db;
struct Channel_Config *config;
int (*init) (bool minimal);