aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-03-21 13:46:32 +0100
committerMarius Halden <marius.h@lden.org>2016-03-29 15:41:14 +0200
commite5a81f6ab3b9fa74ba1ac55524826469ed16b25a (patch)
tree4ee8438db2b55842967c880ed8d5f040bf4c7371 /irc.h
parent64b42638fae4c2af5d334e64e96d748841f8618e (diff)
Add irc_send_tagged_msg* to send tagged messagestagged_msg
Add support for tagged messages by adding the functions irc_send_tagged_msg*, the old irc_send_msg* functions are now wrappers for these functions without any tags.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 2e0cc3d5..49e17c98 100644
--- a/irc.h
+++ b/irc.h
@@ -339,6 +339,12 @@ void irc_send_who(irc_t *irc, GSList *l, const char *channel);
void irc_send_msg(irc_user_t *iu, const char *type, const char *dst, const char *msg, const char *prefix);
void irc_send_msg_raw(irc_user_t *iu, const char *type, const char *dst, const char *msg);
void irc_send_msg_f(irc_user_t *iu, const char *type, const char *dst, const char *format, ...) G_GNUC_PRINTF(4, 5);
+
+void irc_send_tagged_msg(irc_user_t *iu, const char *type, const char *dst, const char *msg, const char *prefix, const char *tags);
+void irc_send_tagged_msg_raw(irc_user_t *iu, const char *type, const char *dst, const char *msg, const char *tags);
+void irc_send_tagged_msg_f(irc_user_t *iu, const char *type, const char *dst, const char *tags, const char *format, ...) G_GNUC_PRINTF(5, 6);
+void irc_send_tagged_msg_vf(irc_user_t *iu, const char *type, const char *dst, const char *tags, const char *format, va_list params);
+
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);