added SSL backend for IOMultiplexer
[TransparentIRC.git] / src / IRCClient.h
index 00c3180f9cc38c4215c68d37115c23fa0417a8b0..ec254f63c5841bda2fbbd24033b426f64946fd6d 100644 (file)
@@ -23,12 +23,40 @@ struct IODescriptor;
 struct UserSession;
 struct UserLogin;
 
+struct IRCChannelMember {
+    char *nick;
+    int modes;
+    
+    struct IRCChannelMember *next, *prev;
+};
+
+struct IRCChannel {
+    char *name;
+    struct IRCChannelMember *userlist;
+    int synchronizing_userlist : 1;
+    
+    struct IRCChannel *next, *prev;
+};
+
+struct IRCUser {
+    char *nick;
+    char *ident;
+    char *host;
+};
+
 struct IRCClient {
     struct IODescriptor *iofd;
     struct UserSession *session;
     
     int auth_confirmed : 1;
+    int fully_connected : 1;
     struct IRCLine *recover_header;
+    struct IRCChannel *channel;
+    
+    char *network_prefixes;
+    char *network_prefixes_char;
+    char *network_chanmodes;
+    char *network_chantypes;
     
     struct IRCClient *next, *prev;
 };