caa_257.c File Reference

Go to the source code of this file.

Defines

#define GENERIC_CAA_257_C   1
#define RRTYPE_CAA_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_caa (ARGS_FROMTEXT)
static isc_result_t totext_caa (ARGS_TOTEXT)
static isc_result_t fromwire_caa (ARGS_FROMWIRE)
static isc_result_t towire_caa (ARGS_TOWIRE)
static int compare_caa (ARGS_COMPARE)
static isc_result_t fromstruct_caa (ARGS_FROMSTRUCT)
static isc_result_t tostruct_caa (ARGS_TOSTRUCT)
static void freestruct_caa (ARGS_FREESTRUCT)
static isc_result_t additionaldata_caa (ARGS_ADDLDATA)
static isc_result_t digest_caa (ARGS_DIGEST)
static isc_boolean_t checkowner_caa (ARGS_CHECKOWNER)
static isc_boolean_t checknames_caa (ARGS_CHECKNAMES)
static int casecompare_caa (ARGS_COMPARE)

Variables

static unsigned char const alphanumeric [256]


Define Documentation

#define GENERIC_CAA_257_C   1

Definition at line 18 of file caa_257.c.

#define RRTYPE_CAA_ATTRIBUTES   (0)

Definition at line 20 of file caa_257.c.


Function Documentation

static isc_result_t fromtext_caa ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 42 of file caa_257.c.

References alphanumeric, isc_tokenvalue_t::as_textregion, isc_tokenvalue_t::as_ulong, isc_textregion::base, callbacks, DNS_R_SYNTAX, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_RANGE, ISC_R_SUCCESS, isc_tokentype_number, isc_tokentype_qstring, isc_tokentype_string, isc_textregion::length, mem_tobuffer(), multitxt_fromtext(), origin, rdclass, REQUIRE, RETERR, RETTOK, token, isc_token::type, uint8_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_caa ( ARGS_TOTEXT   )  [inline, static]

Definition at line 89 of file caa_257.c.

References dns_rdata_toregion(), ISC_FALSE, ISC_R_SUCCESS, multitxt_totext(), REQUIRE, RETERR, str_totext(), txt_totext(), uint8_consume_fromregion(), and UNUSED.

static isc_result_t fromwire_caa ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 123 of file caa_257.c.

References alphanumeric, isc_region::base, DNS_R_FORMERR, isc_buffer_activeregion, isc_buffer_forward, ISC_R_UNEXPECTEDEND, isc_region_consume, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t towire_caa ( ARGS_TOWIRE   )  [inline, static]

Definition at line 167 of file caa_257.c.

References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.

static int compare_caa ( ARGS_COMPARE   )  [inline, static]

Definition at line 181 of file caa_257.c.

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

Referenced by casecompare_caa().

static isc_result_t fromstruct_caa ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 198 of file caa_257.c.

References alphanumeric, isc_region::base, DNS_R_SYNTAX, isc_buffer_copyregion(), isc_region::length, rdclass, REQUIRE, RETERR, uint8_tobuffer(), and UNUSED.

static isc_result_t tostruct_caa ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 242 of file caa_257.c.

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

static void freestruct_caa ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 296 of file caa_257.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_caa ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 313 of file caa_257.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_caa ( ARGS_DIGEST   )  [inline, static]

Definition at line 326 of file caa_257.c.

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

static isc_boolean_t checkowner_caa ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 339 of file caa_257.c.

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

static isc_boolean_t checknames_caa ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 352 of file caa_257.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_caa ( ARGS_COMPARE   )  [inline, static]

Definition at line 366 of file caa_257.c.

References compare_caa().


Variable Documentation

unsigned char const alphanumeric[256] [static]

Initial value:

 {
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 0, 0, 0, 0, 0, 0,
         0, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1,
         1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 0, 0, 0, 0, 0,
         0, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1,
         1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
         0, 0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0,
}

Definition at line 22 of file caa_257.c.

Referenced by fromstruct_caa(), fromtext_caa(), and fromwire_caa().


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