summaryrefslogtreecommitdiff
path: root/src/core/chat-protocols.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-10 22:41:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-10 22:41:22 +0000
commit1acc2be4e30bf16ac1fd09ca44e1c8c82d9af46b (patch)
tree3026fabfd6a09d58e64f46deebb7832cdb2f8452 /src/core/chat-protocols.h
parentd11483db4daebe21415a4752c29f125153c90356 (diff)
downloadirssi-1acc2be4e30bf16ac1fd09ca44e1c8c82d9af46b.zip
broke CHAT_PROTOCOL_REC into struct + typedef.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2770 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/chat-protocols.h')
-rw-r--r--src/core/chat-protocols.h4
1 files changed, 2 insertions, 2 deletions
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;