X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=greylist.h;h=f9640d1d77620934d57be460507ab349040f1aa2;hb=881732b600190bc02b9dde47980b14382851c266;hp=bf1aefc9075ec912c303981025b5db66d4a1f017;hpb=fe76fd38b19d62a8b4cdaba0b4d02a847c53e389;p=apps%2Fpfixtools.git diff --git a/greylist.h b/greylist.h index bf1aefc..f9640d1 100644 --- a/greylist.h +++ b/greylist.h @@ -36,6 +36,15 @@ #ifndef PFIXTOOLS_GREYLIST_H #define PFIXTOOLS_GREYLIST_H +struct greylist_cfg { + unsigned lookup_by_host : 1; + int delay; + int retry_window; + int client_awl; +}; + +extern struct greylist_cfg greylist_cfg; + int greylist_initialize(const char *directory, const char *prefix); bool try_greylist(const char *sender, const char *c_addr,