X-Git-Url: http://git.pk910.de/?p=TransparentIRC.git;a=blobdiff_plain;f=src%2FIRCClient.h;h=00c3180f9cc38c4215c68d37115c23fa0417a8b0;hp=a6b2f4c5a2a584e4f7a36969965a982b4241be5a;hb=93381f41151945656be8f31cdae882e90af05c75;hpb=8889b0aee1dc430e735e2a0df462fd0aeee63847 diff --git a/src/IRCClient.h b/src/IRCClient.h index a6b2f4c..00c3180 100644 --- a/src/IRCClient.h +++ b/src/IRCClient.h @@ -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