diff options
author | Marius Halden <marius.h@lden.org> | 2017-04-07 10:24:13 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2017-04-07 10:24:13 +0200 |
commit | dd46ae5bef1c34773a3e7d3e2ef48fc013cef283 (patch) | |
tree | decbedfb7b847c01493dc95890f2169b4b0e31f3 /irc.h | |
parent | febcb6dca01bb17e0197770a0e6596aaa98bcdbd (diff) | |
parent | 051506399e1455d88f6179010129308c754be936 (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,7 @@ #ifdef WITH_GNUTLS # include <gnutls/gnutls.h> #endif +#include <sys/socket.h> #define IRC_MAX_LINE 512 #define IRC_MAX_ARGS 16 @@ -290,6 +291,7 @@ extern GSList *irc_plugins; /* struct irc_plugin */ extern GSList *irc_connection_list; irc_t *irc_new(int fd); +void irc_set_hosts(irc_t *irc, const struct sockaddr *remote_addr, const socklen_t remote_addrlen); void irc_abort(irc_t *irc, int immed, char *format, ...) G_GNUC_PRINTF(3, 4); void irc_free(irc_t *irc); void irc_setpass(irc_t *irc, const char *pass); |