]>
Commit | Line | Data |
---|---|---|
67af3857 GB |
1 | #ifndef __RBL_ZONEFILE_H |
2 | #define __RBL_ZONEFILE_H | |
3 | ||
4 | #include "rbl.h" | |
5 | ||
6 | typedef struct rbl_zf_entry { | |
7 | struct irc_in_addr ipaddress; | |
8 | unsigned char bits; | |
9 | int exempt; | |
10 | sstring *message; | |
11 | } rbl_zf_entry; | |
12 | ||
13 | typedef struct rbl_zf_udata { | |
14 | sstring *file; | |
15 | array whitelist; | |
16 | array blacklist; | |
17 | } rbl_zf_udata; | |
18 | ||
19 | int rbl_zf_load(const char *name, const char *file); | |
20 | ||
21 | #endif /* __RBL_ZONEFILE_H */ |