]>
jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/hcensor.h
4 #include "../lib/sstring.h"
6 typedef struct hcensor_struct
9 sstring
*reason
; /* optional */
10 struct hcensor_struct
*next
;
13 hcensor
*hcensor_get_by_pattern(hcensor
*, const char *);
14 hcensor
*hcensor_get_by_index(hcensor
*, int);
15 hcensor
*hcensor_check(hcensor
*, const char *); /* first matching pattern is returned, NULL if ok */
16 hcensor
*hcensor_add(hcensor
**, const char*, const char*);
17 hcensor
*hcensor_del(hcensor
**, hcensor
*);
18 int hcensor_count(hcensor
*);
20 void hcensor_del_all(hcensor
**);