summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.h1
-rw-r--r--src/core/chat-protocols.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index c6ab1e6d..b4e04179 100644
--- a/src/common.h
+++ b/src/common.h
@@ -101,6 +101,7 @@ typedef struct _LINEBUF_REC LINEBUF_REC;
typedef struct _NET_SENDBUF_REC NET_SENDBUF_REC;
typedef struct _RAWLOG_REC RAWLOG_REC;
+typedef struct _CHAT_PROTOCOL_REC CHAT_PROTOCOL_REC;
typedef struct _CHATNET_REC CHATNET_REC;
typedef struct _SERVER_REC SERVER_REC;
typedef struct _WI_ITEM_REC WI_ITEM_REC;
diff --git a/src/core/chat-protocols.h b/src/core/chat-protocols.h
index eeb0075f..ad8c64ba 100644
--- a/src/core/chat-protocols.h
+++ b/src/core/chat-protocols.h
@@ -1,7 +1,7 @@
#ifndef __CHAT_PROTOCOLS_H
#define __CHAT_PROTOCOLS_H
-typedef struct {
+struct _CHAT_PROTOCOL_REC {
int id;
unsigned int not_initialized:1;
@@ -20,7 +20,7 @@ typedef struct {
SERVER_REC *(*server_connect) (SERVER_CONNECT_REC *);
CHANNEL_REC *(*channel_create) (SERVER_REC *, const char *, int);
QUERY_REC *(*query_create) (const char *, const char *, int);
-} CHAT_PROTOCOL_REC;
+};
extern GSList *chat_protocols;