bad typing
[apps/pfixtools.git] / greylist.h
index 7086fd6..f9640d1 100644 (file)
  * Copyright © 2007 Pierre Habouzit
  */
 
+#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,
                   const char *c_name, const char *rcpt);
+
+#endif