CVS-ing the new test suite.
[exim.git] / src / src / spf.h
1 /* $Cambridge: exim/src/src/spf.h,v 1.6 2005/06/27 15:28:45 tom Exp $ */
2
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
6
7 /* Experimental SPF support.
8 Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004
9 License: GPL */
10
11 #ifdef EXPERIMENTAL_SPF
12
13 /* Yes, we do have ns_type. spf.h redefines it if we don't set this. Doh */
14 #ifndef HAVE_NS_TYPE
15 #define HAVE_NS_TYPE
16 #endif
17 #include <spf2/spf.h>
18
19 #include <spf2/spf_dns_resolv.h>
20 #include <spf2/spf_dns_cache.h>
21
22 typedef struct spf_result_id {
23 uschar *name;
24 int value;
25 } spf_result_id;
26
27 /* prototypes */
28 int spf_init(uschar *,uschar *);
29 int spf_process(uschar **, uschar *);
30
31 #endif