Back to index

opendkim  2.6.4
Functions | Variables
opendkim-arf.c File Reference
#include <sys/types.h>
#include <sys/param.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
#include "opendkim-arf.h"

Go to the source code of this file.

Functions

char * arf_type_string (int type)
char * arf_dkim_failure_string (int ftype)

Variables

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

Function Documentation

char* arf_dkim_failure_string ( int  ftype)

Definition at line 70 of file opendkim-arf.c.

{
       switch (ftype)
       {
         case ARF_DKIMF_BODYHASH:
              return "bodyhash";

         case ARF_DKIMF_REVOKED:
              return "revoked";

         case ARF_DKIMF_SIGNATURE:
              return "signature";

         case ARF_DKIMF_SYNTAX:
              return "syntax";

         case ARF_DKIMF_OTHER:
         default:
              return "other";
       }
}

Here is the caller graph for this function:

char* arf_type_string ( int  type)

Definition at line 35 of file opendkim-arf.c.

{
       switch (type)
       {
         case ARF_TYPE_ABUSE:
              return "abuse";

         case ARF_TYPE_FRAUD:
              return "fraud";

         case ARF_TYPE_VIRUS:
              return "virus";

         case ARF_TYPE_AUTHFAIL:
              return "auth-failure";

         case ARF_TYPE_UNKNOWN:
         case ARF_TYPE_OTHER:
         default:
              return "other";
       }
}

Here is the caller graph for this function:


Variable Documentation

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

Definition at line 11 of file opendkim-arf.c.