1#ifndef IRCBOT_IRCSERVER_H
2#define IRCBOT_IRCSERVER_H
28 const char *remotehost,
int port,
29 const char *nick,
const char *user,
const char *realname)
30 ATTR_RETNONNULL ATTR_NONNULL((1))
31 ATTR_NONNULL((2)) ATTR_NONNULL((4));
42 const
char *certfile, const
char *keyfile) CMETHOD;
49DECLEXPORT const
char *IrcServer_id(const
IrcServer *self)
50 CMETHOD ATTR_RETNONNULL;
59DECLEXPORT const
char *IrcServer_name(const
IrcServer *self)
60 CMETHOD ATTR_RETNONNULL;
67DECLEXPORT const
char *IrcServer_nick(const
IrcServer *self)
68 CMETHOD ATTR_RETNONNULL;
85DECLEXPORT
void IrcServer_join(
IrcServer *self, const
char *channel)
86 CMETHOD ATTR_NONNULL((2));
94DECLEXPORT
void IrcServer_part(
IrcServer *self, const
char *channel)
95 CMETHOD ATTR_NONNULL((2));
A hash table storing any data objects using string keys.
IrcServer * IrcServer_create(const char *id, const char *remotehost, int port, const char *nick, const char *user, const char *realname)
Create a new IRC server to connect to.
Common preprocessor declarations for libircbot.