spf_99.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_SPF_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_spf (ARGS_FROMTEXT)
static isc_result_t totext_spf (ARGS_TOTEXT)
static isc_result_t fromwire_spf (ARGS_FROMWIRE)
static isc_result_t towire_spf (ARGS_TOWIRE)
static int compare_spf (ARGS_COMPARE)
static isc_result_t fromstruct_spf (ARGS_FROMSTRUCT)
static isc_result_t tostruct_spf (ARGS_TOSTRUCT)
static void freestruct_spf (ARGS_FREESTRUCT)
static isc_result_t additionaldata_spf (ARGS_ADDLDATA)
static isc_result_t digest_spf (ARGS_DIGEST)
static isc_boolean_t checkowner_spf (ARGS_CHECKOWNER)
static isc_boolean_t checknames_spf (ARGS_CHECKNAMES)
static int casecompare_spf (ARGS_COMPARE)


Define Documentation

#define RRTYPE_SPF_ATTRIBUTES   (0)

Definition at line 25 of file spf_99.c.


Function Documentation

static isc_result_t fromtext_spf ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 28 of file spf_99.c.

References isc_tokenvalue_t::as_textregion, callbacks, isc_lex_getmastertoken(), isc_lex_ungettoken(), ISC_R_SUCCESS, ISC_R_UNEXPECTEDEND, isc_tokentype_qstring, isc_tokentype_string, ISC_TRUE, origin, rdclass, REQUIRE, RETERR, RETTOK, token, txt_fromtext(), isc_token::type, UNUSED, and isc_token::value.

static isc_result_t totext_spf ( ARGS_TOTEXT   )  [inline, static]

Definition at line 57 of file spf_99.c.

References dns_rdata_toregion(), ISC_R_SUCCESS, ISC_TRUE, isc_region::length, REQUIRE, RETERR, str_totext(), txt_totext(), and UNUSED.

static isc_result_t fromwire_spf ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 76 of file spf_99.c.

References buffer_empty(), ISC_R_SUCCESS, rdclass, REQUIRE, txt_fromwire(), and UNUSED.

static isc_result_t towire_spf ( ARGS_TOWIRE   )  [inline, static]

Definition at line 95 of file spf_99.c.

References isc_region::base, isc_buffer_add, isc_buffer_availableregion, ISC_R_NOSPACE, ISC_R_SUCCESS, isc_region::length, REQUIRE, and UNUSED.

static int compare_spf ( ARGS_COMPARE   )  [inline, static]

Definition at line 112 of file spf_99.c.

References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.

Referenced by casecompare_spf().

static isc_result_t fromstruct_spf ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 126 of file spf_99.c.

References isc_region::base, ISC_R_UNEXPECTEDEND, isc_region_consume, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, uint8_fromregion(), and UNUSED.

static isc_result_t tostruct_spf ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 154 of file spf_99.c.

References isc_region::base, dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_region::length, mctx, mem_maybedup(), r, and REQUIRE.

static void freestruct_spf ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 177 of file spf_99.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_spf ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 192 of file spf_99.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_spf ( ARGS_DIGEST   )  [inline, static]

Definition at line 203 of file spf_99.c.

References arg, digest, dns_rdata_toregion(), r, and REQUIRE.

static isc_boolean_t checkowner_spf ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 214 of file spf_99.c.

References ISC_TRUE, name, rdclass, REQUIRE, and UNUSED.

static isc_boolean_t checknames_spf ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 227 of file spf_99.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_spf ( ARGS_COMPARE   )  [inline, static]

Definition at line 239 of file spf_99.c.

References compare_spf().


Generated on Tue Apr 28 17:41:12 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha