Back to index

opendkim  2.6.6
Classes | Defines | Typedefs | Functions | Variables
opendkim-ar.h File Reference
#include <sys/types.h>
#include "opendkim.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  result
struct  authres

Defines

#define MAXARESULTS   16
#define MAXPROPS   16
#define MAXAVALUE   256
#define ARES_METHOD_UNKNOWN   (-1)
#define ARES_METHOD_AUTH   0
#define ARES_METHOD_DKIM   1
#define ARES_METHOD_DOMAINKEYS   2
#define ARES_METHOD_SENDERID   3
#define ARES_METHOD_SPF   4
#define ARES_METHOD_DKIMADSP   5
#define ARES_METHOD_IPREV   6
#define ARES_METHOD_DKIMATPS   7
#define ARES_RESULT_UNDEFINED   (-1)
#define ARES_RESULT_PASS   0
#define ARES_RESULT_UNASSIGNED   1 /* UNASSIGNED */
#define ARES_RESULT_SOFTFAIL   2
#define ARES_RESULT_NEUTRAL   3
#define ARES_RESULT_TEMPERROR   4
#define ARES_RESULT_PERMERROR   5
#define ARES_RESULT_NONE   6
#define ARES_RESULT_FAIL   7
#define ARES_RESULT_POLICY   8
#define ARES_RESULT_NXDOMAIN   9
#define ARES_RESULT_SIGNED   10
#define ARES_RESULT_UNKNOWN   11
#define ARES_RESULT_DISCARD   12
#define ARES_PTYPE_UNKNOWN   (-1)
#define ARES_PTYPE_SMTP   0
#define ARES_PTYPE_HEADER   1
#define ARES_PTYPE_BODY   2
#define ARES_PTYPE_POLICY   3

Typedefs

typedef int ares_method_t
typedef int ares_result_t
typedef int ares_ptype_t

Functions

int ares_parse __P ((u_char *hdr, struct authres *ar))

Variables

static char opendkim_ar_h_id [] = "@(#)$Id: opendkim-ar.h,v 1.1 2009/07/16 20:59:11 cm-msk Exp $"

Class Documentation

struct result

Definition at line 69 of file opendkim-ar.h.

Class Members
ares_method_t result_method
unsigned char result_property
int result_props
ares_ptype_t result_ptype
unsigned char result_reason
ares_result_t result_result
unsigned char result_value
struct authres

Definition at line 81 of file opendkim-ar.h.

Class Members
int ares_count
unsigned char ares_host
unsigned char ares_version

Define Documentation

#define ARES_METHOD_AUTH   0

Definition at line 32 of file opendkim-ar.h.

#define ARES_METHOD_DKIM   1

Definition at line 33 of file opendkim-ar.h.

#define ARES_METHOD_DKIMADSP   5

Definition at line 37 of file opendkim-ar.h.

#define ARES_METHOD_DKIMATPS   7

Definition at line 39 of file opendkim-ar.h.

#define ARES_METHOD_DOMAINKEYS   2

Definition at line 34 of file opendkim-ar.h.

#define ARES_METHOD_IPREV   6

Definition at line 38 of file opendkim-ar.h.

#define ARES_METHOD_SENDERID   3

Definition at line 35 of file opendkim-ar.h.

#define ARES_METHOD_SPF   4

Definition at line 36 of file opendkim-ar.h.

#define ARES_METHOD_UNKNOWN   (-1)

Definition at line 31 of file opendkim-ar.h.

#define ARES_PTYPE_BODY   2

Definition at line 65 of file opendkim-ar.h.

#define ARES_PTYPE_HEADER   1

Definition at line 64 of file opendkim-ar.h.

#define ARES_PTYPE_POLICY   3

Definition at line 66 of file opendkim-ar.h.

#define ARES_PTYPE_SMTP   0

Definition at line 63 of file opendkim-ar.h.

#define ARES_PTYPE_UNKNOWN   (-1)

Definition at line 62 of file opendkim-ar.h.

#define ARES_RESULT_DISCARD   12

Definition at line 57 of file opendkim-ar.h.

#define ARES_RESULT_FAIL   7

Definition at line 52 of file opendkim-ar.h.

#define ARES_RESULT_NEUTRAL   3

Definition at line 48 of file opendkim-ar.h.

#define ARES_RESULT_NONE   6

Definition at line 51 of file opendkim-ar.h.

#define ARES_RESULT_NXDOMAIN   9

Definition at line 54 of file opendkim-ar.h.

#define ARES_RESULT_PASS   0

Definition at line 45 of file opendkim-ar.h.

#define ARES_RESULT_PERMERROR   5

Definition at line 50 of file opendkim-ar.h.

#define ARES_RESULT_POLICY   8

Definition at line 53 of file opendkim-ar.h.

#define ARES_RESULT_SIGNED   10

Definition at line 55 of file opendkim-ar.h.

#define ARES_RESULT_SOFTFAIL   2

Definition at line 47 of file opendkim-ar.h.

#define ARES_RESULT_TEMPERROR   4

Definition at line 49 of file opendkim-ar.h.

#define ARES_RESULT_UNASSIGNED   1 /* UNASSIGNED */

Definition at line 46 of file opendkim-ar.h.

#define ARES_RESULT_UNDEFINED   (-1)

Definition at line 44 of file opendkim-ar.h.

#define ARES_RESULT_UNKNOWN   11

Definition at line 56 of file opendkim-ar.h.

#define MAXARESULTS   16

Definition at line 24 of file opendkim-ar.h.

#define MAXAVALUE   256

Definition at line 26 of file opendkim-ar.h.

#define MAXPROPS   16

Definition at line 25 of file opendkim-ar.h.


Typedef Documentation

typedef int ares_method_t

Definition at line 29 of file opendkim-ar.h.

typedef int ares_ptype_t

Definition at line 60 of file opendkim-ar.h.

typedef int ares_result_t

Definition at line 42 of file opendkim-ar.h.


Function Documentation

int ares_parse __P ( (u_char *hdr, struct authres *ar)  )

Variable Documentation

char opendkim_ar_h_id[] = "@(#)$Id: opendkim-ar.h,v 1.1 2009/07/16 20:59:11 cm-msk Exp $" [static]

Definition at line 14 of file opendkim-ar.h.