1 #ifndef XCHAT_INBOUND_H
2 #define XCHAT_INBOUND_H
4 void inbound_next_nick (session
*sess
, char *nick
);
5 void inbound_uback (server
*serv
);
6 void inbound_uaway (server
*serv
);
7 void inbound_account (server
*serv
, char *nick
, char *account
);
8 void inbound_part (server
*serv
, char *chan
, char *user
, char *ip
, char *reason
);
9 void inbound_upart (server
*serv
, char *chan
, char *ip
, char *reason
);
10 void inbound_ukick (server
*serv
, char *chan
, char *kicker
, char *reason
);
11 void inbound_kick (server
*serv
, char *chan
, char *user
, char *kicker
, char *reason
);
12 void inbound_notice (server
*serv
, char *to
, char *nick
, char *msg
, char *ip
, int id
);
13 void inbound_quit (server
*serv
, char *nick
, char *ip
, char *reason
);
14 void inbound_topicnew (server
*serv
, char *nick
, char *chan
, char *topic
);
15 void inbound_join (server
*serv
, char *chan
, char *user
, char *ip
, char *account
, char *realname
);
16 void inbound_ujoin (server
*serv
, char *chan
, char *nick
, char *ip
);
17 void inbound_topictime (server
*serv
, char *chan
, char *nick
, time_t stamp
);
18 void inbound_topic (server
*serv
, char *chan
, char *topic_text
);
19 void inbound_user_info_start (session
*sess
, char *nick
);
20 void inbound_user_info (session
*sess
, char *chan
, char *user
, char *host
, char *servname
, char *nick
, char *realname
, char *account
, unsigned int away
);
21 void inbound_foundip (session
*sess
, char *ip
);
22 int inbound_banlist (session
*sess
, time_t stamp
, char *chan
, char *mask
, char *banner
, int is_exemption
);
23 void inbound_ping_reply (session
*sess
, char *timestring
, char *from
);
24 void inbound_nameslist (server
*serv
, char *chan
, char *names
);
25 int inbound_nameslist_end (server
*serv
, char *chan
);
26 void inbound_away (server
*serv
, char *nick
, char *msg
);
27 void inbound_away_notify (server
*serv
, char *nick
, char *reason
);
28 void inbound_login_start (session
*sess
, char *nick
, char *servname
);
29 void inbound_login_end (session
*sess
, char *text
);
30 void inbound_chanmsg (server
*serv
, session
*sess
, char *chan
, char *from
, char *text
, char fromme
, int id
);
31 void clear_channel (session
*sess
);
32 void set_topic (session
*sess
, char *topic
, char *stripped_topic
);
33 void inbound_privmsg (server
*serv
, char *from
, char *ip
, char *text
, int id
);
34 void inbound_action (session
*sess
, char *chan
, char *from
, char *ip
, char *text
, int fromme
, int id
);
35 void inbound_newnick (server
*serv
, char *nick
, char *newnick
, int quiet
);
36 void inbound_identified (server
*serv
);
37 void inbound_cap_ack (server
*serv
, char *nick
, char *extensions
);
38 void inbound_cap_ls (server
*serv
, char *nick
, char *extensions
);
39 void inbound_cap_nak (server
*serv
);
40 void inbound_cap_list (server
*serv
, char *nick
, char *extensions
);
41 void do_dns (session
*sess
, char *nick
, char *host
);
42 gboolean
alert_match_word (char *word
, char *masks
);
43 gboolean
alert_match_text (char *text
, char *masks
);