Dirk



struct  IrcLine;

Structure representing a parsed IRC message.


const(char)[]  prefix;

Note:
null when the message has no prefix.

const(char)[]  command;




pure nothrow @nogc @property @safe const(char)[][]  arguments();




alias  channelPrefixes = TList;

List of the four valid channel prefixes;

&, #, + and !.


struct  IrcUser;

Structure representing an IRC user.


const(char)[]  nickName;




const(char)[]  userName;




const(char)[]  hostName;




static @safe IrcUser  fromPrefix(const(char)[] prefix);

Create an IRC user from a message prefix.


static @safe size_t  parseUserhostReply(ref IrcUser[5] users, in char[] reply);

Create users from userhost reply.