summary refs log tree commit diff stats
path: root/src/common/inbound.h
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-06-22 00:13:36 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-06-28 16:03:12 +0100
commit94186f7888d5a730e52e433a21698154dfcc4e2e (patch)
treec7ec4e195a92f0e81d130d1cfe47442e75a5637b /src/common/inbound.h
parentac5771377ea95287a99bfd5c8c99ec65e9bb069d (diff)
First step towards message tags extension support
(see http://ircv3.atheme.org/specification/message-tags-3.2).

In particular this commit implements a (very) dummy implementation
sketch of the server-time extension
(see http://ircv3.atheme.org/specification/message-tags-3.2 and #499).
Diffstat (limited to 'src/common/inbound.h')
-rw-r--r--src/common/inbound.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/inbound.h b/src/common/inbound.h
index 32368cc1..41a927a2 100644
--- a/src/common/inbound.h
+++ b/src/common/inbound.h
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include "proto-irc.h"
+
 #ifndef HEXCHAT_INBOUND_H
 #define HEXCHAT_INBOUND_H
 
@@ -46,7 +48,8 @@ void inbound_away (server *serv, char *nick, char *msg);
 void inbound_away_notify (server *serv, char *nick, char *reason);
 void inbound_login_start (session *sess, char *nick, char *servname);
 void inbound_login_end (session *sess, char *text);
-void inbound_chanmsg (server *serv, session *sess, char *chan, char *from, char *text, char fromme, int id);
+void inbound_chanmsg (server *serv, session *sess, char *chan, char *from, char *text, char fromme, int id,
+		      const message_tags_data const *tags_data);
 void clear_channel (session *sess);
 void set_topic (session *sess, char *topic, char *stripped_topic);
 void inbound_privmsg (server *serv, char *from, char *ip, char *text, int id);