|
libircbot
library providing a framework for implementing an IRC bot
|
declarations for the main IrcBot API and related classes More...
#include <ircbot/decl.h>Go to the source code of this file.
Macros | |
| #define | ORIGIN_PRIVATE ":" |
| the origin is any private message | |
| #define | ORIGIN_CHANNEL "#" |
| the origin is any channel | |
Typedefs | |
| typedef void(* | IrcBotHandler) (IrcBotEvent *event) |
| Handler for a bot event. More... | |
Enumerations | |
| enum | IrcBotEventType { IBET_BOTCOMMAND , IBET_PRIVMSG , IBET_CONNECTED , IBET_CHANJOINED , IBET_JOINED , IBET_PARTED } |
| Type of a bot event. More... | |
declarations for the main IrcBot API and related classes
| typedef void(* IrcBotHandler) (IrcBotEvent *event) |
Handler for a bot event.
Will be executed on a worker thread.
| event | the event to handle |
| enum IrcBotEventType |
Type of a bot event.