spf_dns_test.c File Reference

#include "spf_sys_config.h"
#include "spf.h"
#include "spf_dns.h"
#include "spf_internal.h"
#include "spf_dns_internal.h"
#include "spf_dns_test.h"
#include "spf_dns_zone.h"

Include dependency graph for spf_dns_test.c:

Go to the source code of this file.

Data Structures

struct  SPF_dns_test_data_t

Defines

#define USE_SPF_SPEC_ZONE
#define USE_MAILZONE_ZONE
#define USE_EXT_MAILZONE_ZONE

Functions

SPF_dns_server_tSPF_dns_test_new (SPF_dns_server_t *layer_below, const char *name, int debug)


Define Documentation

#define USE_EXT_MAILZONE_ZONE

Definition at line 45 of file spf_dns_test.c.

#define USE_MAILZONE_ZONE

Definition at line 44 of file spf_dns_test.c.

#define USE_SPF_SPEC_ZONE

Definition at line 43 of file spf_dns_test.c.


Function Documentation

SPF_dns_server_t* SPF_dns_test_new ( SPF_dns_server_t layer_below,
const char *  name,
int  debug 
)

These routines take care of creating/destroying/etc. the objects that hold the DNS layer configuration. SPF_dns_server_t objects contain malloc'ed data, so they must be destroyed when you are finished with them, or you will leak memory.

Definition at line 437 of file spf_dns_test.c.

References array_elem, NULL, SPF_dns_zone_add_str(), SPF_dns_zone_new(), SPF_E_SUCCESS, and SPF_error.

Here is the call graph for this function:


Generated on Tue Nov 4 13:27:48 2008 for libspf2 by  doxygen 1.5.4