exiwhat: Ensure the SIGUSR1 signal handler is safe.
[exim.git] / src / src / spf.h
CommitLineData
65a7d8c3 1/* $Cambridge: exim/src/src/spf.h,v 1.7 2008/02/12 12:52:51 nm4 Exp $ */
8523533c
TK
2
3/*************************************************
4* Exim - an Internet mail transport agent *
5*************************************************/
8e669ac1 6
8523533c
TK
7/* Experimental SPF support.
8 Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004
9 License: GPL */
10
11#ifdef EXPERIMENTAL_SPF
12
384152a6 13/* Yes, we do have ns_type. spf.h redefines it if we don't set this. Doh */
6d06cf48 14#ifndef HAVE_NS_TYPE
384152a6 15#define HAVE_NS_TYPE
6d06cf48 16#endif
8523533c 17#include <spf2/spf.h>
384152a6 18
8523533c
TK
19#include <spf2/spf_dns_resolv.h>
20#include <spf2/spf_dns_cache.h>
21
22typedef struct spf_result_id {
23 uschar *name;
24 int value;
25} spf_result_id;
26
8523533c
TK
27/* prototypes */
28int spf_init(uschar *,uschar *);
65a7d8c3
NM
29int spf_process(uschar **, uschar *, int);
30
31#define SPF_PROCESS_NORMAL 0
32#define SPF_PROCESS_GUESS 1
33#define SPF_PROCESS_FALLBACK 2
8523533c
TK
34
35#endif