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] |
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] |
static isc_result_t additionaldata_caa | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_caa | ( | ARGS_DIGEST | ) | [inline, static] |
static isc_boolean_t checkowner_caa | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_caa | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_caa | ( | ARGS_COMPARE | ) | [inline, static] |
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().