Now inbound_cap_ls() can enable extensions when a bouncer uses a namespace for the...
[rofl0r-ixchat.git] / src / common / ignore.h
blob3a971a8622ac7b2aaf9d5aeb3054adff3882c13a
1 #ifndef XCHAT_IGNORE_H
2 #define XCHAT_IGNORE_H
4 extern GSList *ignore_list;
6 extern int ignored_ctcp;
7 extern int ignored_priv;
8 extern int ignored_chan;
9 extern int ignored_noti;
10 extern int ignored_invi;
12 #define IG_PRIV 1
13 #define IG_NOTI 2
14 #define IG_CHAN 4
15 #define IG_CTCP 8
16 #define IG_INVI 16
17 #define IG_UNIG 32
18 #define IG_NOSAVE 64
19 #define IG_DCC 128
21 struct ignore
23 char *mask;
24 unsigned int type; /* one of more of IG_* ORed together */
27 struct ignore *ignore_exists (char *mask);
28 int ignore_add (char *mask, int type);
29 void ignore_showlist (session *sess);
30 int ignore_del (char *mask, struct ignore *ig);
31 int ignore_check (char *mask, int type);
32 void ignore_load (void);
33 void ignore_save (void);
34 void ignore_gui_open (void);
35 void ignore_gui_update (int level);
36 int flood_check (char *nick, char *ip, server *serv, session *sess, int what);
38 #endif