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