libircbot
library providing a framework for implementing an IRC bot
Loading...
Searching...
No Matches
ircmessage.h
Go to the documentation of this file.
1#ifndef IRCBOT_IRCMESSAGE_H
2#define IRCBOT_IRCMESSAGE_H
3
4#include <ircbot/decl.h>
5#include <ircbot/irccommand.h>
6
14C_CLASS_DECL(IrcMessage);
15
16C_CLASS_DECL(IBList);
17
23DECLEXPORT const char *IrcMessage_prefix(const IrcMessage *self)
24 CMETHOD ATTR_PURE;
25
32 CMETHOD ATTR_PURE;
33
39DECLEXPORT const char *IrcMessage_rawCmd(const IrcMessage *self)
40 CMETHOD ATTR_RETNONNULL ATTR_PURE;
41
47DECLEXPORT const IBList *IrcMessage_params(const IrcMessage *self)
48 CMETHOD ATTR_RETNONNULL ATTR_PURE;
49
55DECLEXPORT const char *IrcMessage_rawParams(const IrcMessage *self)
56 CMETHOD ATTR_RETNONNULL ATTR_PURE;
57
58#endif
A list of objects.
All valid IRC protocol messages according to RFC 2812.
An IRC protocol message.
const char * IrcMessage_prefix(const IrcMessage *self)
The prefix of the message.
const IBList * IrcMessage_params(const IrcMessage *self)
The parameters of the message.
IrcCommand IrcMessage_command(const IrcMessage *self)
The command of the message.
const char * IrcMessage_rawParams(const IrcMessage *self)
The unparsed parameters of the message.
const char * IrcMessage_rawCmd(const IrcMessage *self)
The unparsed command of the message.
Common preprocessor declarations for libircbot.
declarations for the IrcCommand enum class