libircbot
library providing a framework for implementing an IRC bot
Loading...
Searching...
No Matches
IrcMessage Class Reference

An IRC protocol message. More...

#include <ircbot/ircmessage.h>

Public Member Functions

const char * IrcMessage_prefix (const IrcMessage *self)
 The prefix of the message. More...
 
IrcCommand IrcMessage_command (const IrcMessage *self)
 The command of the message. More...
 
const char * IrcMessage_rawCmd (const IrcMessage *self)
 The unparsed command of the message. More...
 
const IBListIrcMessage_params (const IrcMessage *self)
 The parameters of the message. More...
 
const char * IrcMessage_rawParams (const IrcMessage *self)
 The unparsed parameters of the message. More...
 

Detailed Description

An IRC protocol message.

Member Function Documentation

◆ IrcMessage_command()

IrcCommand IrcMessage_command ( const IrcMessage self)

The command of the message.

Parameters
selfthe IrcMessage
Returns
the command of the message

◆ IrcMessage_params()

const IBList * IrcMessage_params ( const IrcMessage self)

The parameters of the message.

Parameters
selfthe IrcMessage
Returns
the list of parameters

◆ IrcMessage_prefix()

const char * IrcMessage_prefix ( const IrcMessage self)

The prefix of the message.

Parameters
selfthe IrcMessage
Returns
the prefix, or NULL if there is none

◆ IrcMessage_rawCmd()

const char * IrcMessage_rawCmd ( const IrcMessage self)

The unparsed command of the message.

Parameters
selfthe IrcMessage
Returns
the original string received for the command

◆ IrcMessage_rawParams()

const char * IrcMessage_rawParams ( const IrcMessage self)

The unparsed parameters of the message.

Parameters
selfthe IrcMessage
Returns
the original string received for the parameters

The documentation for this class was generated from the following file: