2020-12-27 23:40:39 +01:00
|
|
|
/*
|
2020-12-28 11:30:11 +01:00
|
|
|
* screen.h, SJ
|
2020-12-27 23:40:39 +01:00
|
|
|
*/
|
|
|
|
|
2020-12-28 11:30:11 +01:00
|
|
|
#ifndef _SCREEN_H
|
|
|
|
#define _SCREEN_H
|
2020-12-27 23:40:39 +01:00
|
|
|
|
|
|
|
#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);
|
|
|
|
|
2020-12-28 11:30:11 +01:00
|
|
|
#endif /* _SCREEN_H */
|