aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index fc449524..c7d1aa85 100644
--- a/irc.h
+++ b/irc.h
@@ -65,6 +65,11 @@ typedef enum {
IRC_UTF8_NICKS = 0x10000, /* Disable ASCII restrictions on buddy nicks. */
} irc_status_t;
+typedef enum {
+ CAP_FOO = (1 << 0),
+ CAP_BAR = (1 << 1),
+} irc_cap_flag_t;
+
struct irc_user;
typedef struct irc {
@@ -351,4 +356,7 @@ char *irc_format_timestamp(irc_t *irc, time_t msg_ts);
void bee_irc_channel_update(irc_t *irc, irc_channel_t *ic, irc_user_t *iu);
void bee_irc_user_nick_reset(irc_user_t *iu);
+/* irc_cap.c */
+void irc_cmd_cap(irc_t *irc, char **cmd);
+
#endif