libircbot
library providing a framework for implementing an IRC bot
Loading...
Searching...
No Matches
ircchannel.h
Go to the documentation of this file.
1#ifndef IRCBOT_IRCCHANNEL_H
2#define IRCBOT_IRCCHANNEL_H
3
4#include <ircbot/decl.h>
5
10C_CLASS_DECL(IBHashTable);
11
15C_CLASS_DECL(IrcChannel);
16
17C_CLASS_DECL(IrcServer);
18
24DECLEXPORT const char *IrcChannel_name(const IrcChannel *self)
25 CMETHOD ATTR_RETNONNULL;
26
32DECLEXPORT const IrcServer *IrcChannel_server(const IrcChannel *self)
33 CMETHOD ATTR_RETNONNULL ATTR_PURE;
34
40DECLEXPORT int IrcChannel_isJoined(const IrcChannel *self) CMETHOD;
41
49DECLEXPORT const IBHashTable *IrcChannel_nicks(const IrcChannel *self)
50 CMETHOD ATTR_RETNONNULL;
51
52#endif
A hash table storing any data objects using string keys.
An IRC channel.
const IrcServer * IrcChannel_server(const IrcChannel *self)
The server of the channel.
const IBHashTable * IrcChannel_nicks(const IrcChannel *self)
A hash table of all the nicks currently on the channel.
int IrcChannel_isJoined(const IrcChannel *self)
Whether the bot is currently on this channel.
const char * IrcChannel_name(const IrcChannel *self)
The name of the channel.
An IRC server.
Common preprocessor declarations for libircbot.