]>
jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/hban.h
6 #include "../channel/channel.h"
7 #include "../nick/nick.h"
8 #include "../lib/sstring.h"
10 /* Forward declarations */
13 typedef struct hban_struct
19 struct hban_struct
*next
;
27 HBAN_REAL_HOST
= 1 << 3
32 hban
*hban_add(const char*, const char*, time_t, int);
33 hban
*hban_del(hban
*, int);
34 hban
*hban_get(const char*);
37 /* the first parameter is huser* */
38 hban
*hban_huser(struct huser_struct
*, const char*, time_t, int);
40 hban
*hban_check(nick
*);
42 void hban_remove_expired(void);
44 void hban_del_all(void);
46 const char *hban_get_reason(hban
*);
48 const char *hban_ban_string(nick
*, int);