mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 18:00:13 +01:00
f8a32dd025
Signed-off-by: Janos SUTO <sj@acts.hu>
17 lines
440 B
C
17 lines
440 B
C
/*
|
|
* rules.h, SJ
|
|
*/
|
|
|
|
#ifndef _NETRANGE_H
|
|
#define _NETRANGE_H
|
|
|
|
#include "defs.h"
|
|
|
|
void init_smtp_acl(struct smtp_acl *smtp_acl[]);
|
|
void clear_smtp_acl(struct smtp_acl *smtp_acl[]);
|
|
int add_smtp_acl(struct smtp_acl *smtp_acl[], char *network_str, struct smtp_acl *acl);
|
|
void load_smtp_acl(struct smtp_acl *smtp_acl[]);
|
|
int is_blocked_by_pilerscreen(struct smtp_acl *smtp_acl[], char *ipaddr, struct config *cfg);
|
|
|
|
#endif /* _NETRANGE_H */
|