Back to index

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

Go to the source code of this file.

Defines

#define VBR_ALL   "all"
#define VBR_INFOHEADER   "VBR-Info"
#define VBR_PREFIX   "_vouch"
#define VBR_MAXHEADER   1024
#define VBR_MAXHOSTNAMELEN   256
#define VBR_STAT_OK   0
#define VBR_STAT_INVALID   1
#define VBR_STAT_DNSERROR   2
#define VBR_STAT_NORESOURCE   3
#define VBR_STAT_NOTIMPLEMENT   4
#define VBR_OPT_TRUSTEDONLY   0x01

Typedefs

typedef int VBR_STAT
typedef struct vbr_handle

Functions

VBR *vbr_init __P ((void *(*caller_mallocf)(void *closure, size_t nbytes), void(*caller_freef)(void *closure, void *p), void *closure))
void vbr_options __P ((VBR *, unsigned int))
void vbr_close __P ((VBR *))
VBR_STAT vbr_getheader __P ((VBR *, unsigned char *, size_t))
void vbr_setcert __P ((VBR *, u_char *))
void vbr_trustedcerts __P ((VBR *, u_char **))
VBR_STAT vbr_query __P ((VBR *, u_char **, u_char **))
VBR_STAT vbr_settimeout __P ((VBR *, u_int))
VBR_STAT vbr_setcallbackctx __P ((VBR *, void *))
VBR_STAT vbr_setdnscallback __P ((VBR *vbr, void(*func)(const void *context)))
void vbr_dns_set_query_start __P ((VBR *, int(*)(void *, int, unsigned char *, unsigned char *, size_t, void **)))
void vbr_dns_set_query_cancel __P ((VBR *, int(*)(void *, void *)))
void vbr_dns_set_query_waitreply __P ((VBR *, int(*)(void *, void *, struct timeval *, size_t *, int *, int *)))

Variables

static char vbr_h_id [] = "@(#)$Id: vbr.h,v 1.2.48.1 2010/10/27 21:43:09 cm-msk Exp $"

Define Documentation

#define VBR_ALL   "all"

Definition at line 19 of file vbr.h.

#define VBR_INFOHEADER   "VBR-Info"

Definition at line 20 of file vbr.h.

#define VBR_MAXHEADER   1024

Definition at line 24 of file vbr.h.

#define VBR_MAXHOSTNAMELEN   256

Definition at line 25 of file vbr.h.

#define VBR_OPT_TRUSTEDONLY   0x01

Definition at line 36 of file vbr.h.

#define VBR_PREFIX   "_vouch"

Definition at line 21 of file vbr.h.

#define VBR_STAT_DNSERROR   2

Definition at line 32 of file vbr.h.

#define VBR_STAT_INVALID   1

Definition at line 31 of file vbr.h.

#define VBR_STAT_NORESOURCE   3

Definition at line 33 of file vbr.h.

#define VBR_STAT_NOTIMPLEMENT   4

Definition at line 34 of file vbr.h.

#define VBR_STAT_OK   0

Definition at line 30 of file vbr.h.


Typedef Documentation

typedef struct vbr_handle

Definition at line 40 of file vbr.h.

typedef int VBR_STAT

Definition at line 28 of file vbr.h.


Function Documentation

VBR* vbr_init __P ( (void *(*caller_mallocf)(void *closure, size_t nbytes), void(*caller_freef)(void *closure, void *p), void *closure)  )
void vbr_options __P ( (VBR *, unsigned int)  )
const u_char *vbr_geterror __P ( (VBR *)  )
VBR_STAT vbr_getheader __P ( (VBR *, unsigned char *, size_t)  )
void vbr_setdomain __P ( (VBR *, u_char *)  )
void vbr_trustedcerts __P ( (VBR *, u_char **)  )
VBR_STAT vbr_query __P ( (VBR *, u_char **, u_char **)  )
VBR_STAT vbr_setcallbackint __P ( (VBR *, u_int)  )
void *vbr_dns_set_query_service __P ( (VBR *, void *)  )
VBR_STAT vbr_setdnscallback __P ( (VBR *vbr, void(*func)(const void *context))  )
void vbr_dns_set_query_start __P ( (VBR *, int(*)(void *, int, unsigned char *, unsigned char *, size_t, void **))  )
void vbr_dns_set_query_cancel __P ( (VBR *, int(*)(void *, void *))  )
void vbr_dns_set_query_waitreply __P ( (VBR *, int(*)(void *, void *, struct timeval *, size_t *, int *, int *))  )

Variable Documentation

char vbr_h_id[] = "@(#)$Id: vbr.h,v 1.2.48.1 2010/10/27 21:43:09 cm-msk Exp $" [static]

Definition at line 12 of file vbr.h.