updates.
[silc.git] / apps / irssi / src / core / chat-protocols.h
index cc7eaadc5da85869e7b065d1e0ecfe67687157fe..ad8c64ba6f7905e083ef4cd08226f1ac0a351961 100644 (file)
@@ -1,10 +1,11 @@
 #ifndef __CHAT_PROTOCOLS_H
 #define __CHAT_PROTOCOLS_H
 
-typedef struct {
+struct _CHAT_PROTOCOL_REC {
        int id;
 
        unsigned int not_initialized:1;
+       unsigned int case_insensitive:1;
 
        char *name;
        char *fullname;
@@ -14,11 +15,12 @@ typedef struct {
        SERVER_SETUP_REC *(*create_server_setup) (void);
         CHANNEL_SETUP_REC *(*create_channel_setup) (void);
        SERVER_CONNECT_REC *(*create_server_connect) (void);
+        void (*destroy_server_connect) (SERVER_CONNECT_REC *);
 
         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;