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