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 15:32:50 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-06-28 16:03:37 +0100
commit6a0240aa181656dff00e664fd8cc60931b618a50 (patch)
treede280668413bc7bdef6b229983b9dbdfee876b34 /src/common/inbound.h
parent179747a7bc05d5f124e7e1b34ccc2467fb62df32 (diff)
server-time supported in most named messages.
Diffstat (limited to 'src/common/inbound.h')
-rw-r--r--src/common/inbound.h54
1 files changed, 36 insertions, 18 deletions
diff --git a/src/common/inbound.h b/src/common/inbound.h
index 41a927a2..19820e78 100644
--- a/src/common/inbound.h
+++ b/src/common/inbound.h
@@ -25,36 +25,54 @@
 void inbound_next_nick (session *sess, char *nick, int error);
 void inbound_uback (server *serv);
 void inbound_uaway (server *serv);
-void inbound_account (server *serv, char *nick, char *account);
-void inbound_part (server *serv, char *chan, char *user, char *ip, char *reason);
-void inbound_upart (server *serv, char *chan, char *ip, char *reason);
-void inbound_ukick (server *serv, char *chan, char *kicker, char *reason);
-void inbound_kick (server *serv, char *chan, char *user, char *kicker, char *reason);
-void inbound_notice (server *serv, char *to, char *nick, char *msg, char *ip, int id);
-void inbound_quit (server *serv, char *nick, char *ip, char *reason);
-void inbound_topicnew (server *serv, char *nick, char *chan, char *topic);
-void inbound_join (server *serv, char *chan, char *user, char *ip, char *account, char *realname);
-void inbound_ujoin (server *serv, char *chan, char *nick, char *ip);
+void inbound_account (server *serv, char *nick, char *account,
+							 const message_tags_data *tags_data);
+void inbound_part (server *serv, char *chan, char *user, char *ip, char *reason,
+						 const message_tags_data *tags_data);
+void inbound_upart (server *serv, char *chan, char *ip, char *reason,
+						  const message_tags_data *tags_data);
+void inbound_ukick (server *serv, char *chan, char *kicker, char *reason,
+						  const message_tags_data *tags_data);
+void inbound_kick (server *serv, char *chan, char *user, char *kicker,
+						 char *reason, const message_tags_data *tags_data);
+void inbound_notice (server *serv, char *to, char *nick, char *msg, char *ip,
+							int id, const message_tags_data *tags_data);
+void inbound_quit (server *serv, char *nick, char *ip, char *reason,
+						 const message_tags_data *tags_data);
+void inbound_topicnew (server *serv, char *nick, char *chan, char *topic,
+							  const message_tags_data *tags_data);
+void inbound_join (server *serv, char *chan, char *user, char *ip, 
+						 char *account, char *realname, 
+						 const message_tags_data *tags_data);
+void inbound_ujoin (server *serv, char *chan, char *nick, char *ip,
+						  const message_tags_data *tags_data);
 void inbound_topictime (server *serv, char *chan, char *nick, time_t stamp);
 void inbound_topic (server *serv, char *chan, char *topic_text);
 void inbound_user_info_start (session *sess, char *nick);
 void inbound_user_info (session *sess, char *chan, char *user, char *host, char *servname, char *nick, char *realname, char *account, unsigned int away);
 void inbound_foundip (session *sess, char *ip);
 int inbound_banlist (session *sess, time_t stamp, char *chan, char *mask, char *banner, int is_exemption);
-void inbound_ping_reply (session *sess, char *timestring, char *from);
+void inbound_ping_reply (session *sess, char *timestring, char *from,
+								 const message_tags_data *tags_data);
 void inbound_nameslist (server *serv, char *chan, char *names);
 int inbound_nameslist_end (server *serv, char *chan);
-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_away (server *serv, char *nick, char *msg,
+						 const message_tags_data *tags_data);
+void inbound_away_notify (server *serv, char *nick, char *reason,
+								  const message_tags_data *tags_data);
+void inbound_login_start (session *sess, char *nick, char *servname,
+								  const message_tags_data *tags_data);
 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,
-		      const message_tags_data const *tags_data);
+void inbound_chanmsg (server *serv, session *sess, char *chan, char *from,
+							 char *text, char fromme, int id, 
+							 const message_tags_data *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);
+void inbound_privmsg (server *serv, char *from, char *ip, char *text, int id, 
+							 const message_tags_data *tags_data);
 void inbound_action (session *sess, char *chan, char *from, char *ip, char *text, int fromme, int id);
-void inbound_newnick (server *serv, char *nick, char *newnick, int quiet);
+void inbound_newnick (server *serv, char *nick, char *newnick, int quiet,
+							 const message_tags_data *tags_data);
 void do_dns (session *sess, char *nick, char *host);
 void inbound_identified (server *serv);
 gboolean alert_match_word (char *word, char *masks);