aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-07-27 02:14:09 -0300
committerdequis <dx@dxzone.com.ar>2015-09-10 23:31:10 -0300
commit0ef1c9293b2055807e14e404cdf96cf7d8843170 (patch)
treebfa51613f2ea1b72dd54c99dd4b26fd466f5ecdd /irc.h
parent34d16d5b4b5265990125894572a90493284358cd (diff)
Initial implementation of ircv3 capability negotiation
Mostly no-op for now. Puts registration on hold, supports the basic commands, and NAKs everything
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 8b2e4947..549f400c 100644
--- a/irc.h
+++ b/irc.h
@@ -48,6 +48,7 @@ typedef enum {
USTATUS_IDENTIFIED = 4, /* To NickServ (root). */
USTATUS_SHUTDOWN = 8, /* Now used to indicate we're shutting down.
Currently just blocks irc_vawrite(). */
+ USTATUS_CAP_PENDING = 16,
/* Not really status stuff, but other kinds of flags: For slightly
better password security, since the only way to send passwords
@@ -330,6 +331,7 @@ void irc_send_nick(irc_user_t *iu, const char *new_nick);
void irc_send_channel_user_mode_diff(irc_channel_t *ic, irc_user_t *iu,
irc_channel_user_flags_t old_flags, irc_channel_user_flags_t new_flags);
void irc_send_invite(irc_user_t *iu, irc_channel_t *ic);
+void irc_send_cap(irc_t *irc, char *subcommand, char *body);
/* irc_user.c */
irc_user_t *irc_user_new(irc_t *irc, const char *nick);