added channel rejoin faker (session recover)
[TransparentIRC.git] / src / IRCClient.h
index 00c3180f9cc38c4215c68d37115c23fa0417a8b0..707400b968d261deef6a07749cfd3e9d8d91f32a 100644 (file)
@@ -23,12 +23,26 @@ struct IODescriptor;
 struct UserSession;
 struct UserLogin;
 
+struct IRCChannel {
+    char *name;
+    
+    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;
     
     struct IRCClient *next, *prev;
 };