added small static content replay (channels will follow)
[TransparentIRC.git] / src / IRCClient.h
index a6b2f4c5a2a584e4f7a36969965a982b4241be5a..00c3180f9cc38c4215c68d37115c23fa0417a8b0 100644 (file)
@@ -25,16 +25,22 @@ struct UserLogin;
 
 struct IRCClient {
     struct IODescriptor *iofd;
-    
     struct UserSession *session;
     
     int auth_confirmed : 1;
+    struct IRCLine *recover_header;
     
     struct IRCClient *next, *prev;
 };
 
+struct IRCLine {
+    char *line;
+    struct IRCLine *next;
+};
+
 void ircclient_initialize(struct UserSession *session, struct UserLogin *login);
 void ircclient_close(struct IRCClient *client);
 void ircclient_send(struct IRCClient *client, char *line);
+void ircclient_recover_session(struct UserSession *session);
 
 #endif