txt_16.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_TXT_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_txt (ARGS_FROMTEXT)
static isc_result_t totext_txt (ARGS_TOTEXT)
static isc_result_t fromwire_txt (ARGS_FROMWIRE)
static isc_result_t towire_txt (ARGS_TOWIRE)
static int compare_txt (ARGS_COMPARE)
static isc_result_t fromstruct_txt (ARGS_FROMSTRUCT)
static isc_result_t tostruct_txt (ARGS_TOSTRUCT)
static void freestruct_txt (ARGS_FREESTRUCT)
static isc_result_t additionaldata_txt (ARGS_ADDLDATA)
static isc_result_t digest_txt (ARGS_DIGEST)
static isc_boolean_t checkowner_txt (ARGS_CHECKOWNER)
static isc_boolean_t checknames_txt (ARGS_CHECKNAMES)
static isc_result_t casecompare_txt (ARGS_COMPARE)
isc_result_t dns_rdata_txt_first (dns_rdata_txt_t *txt)
isc_result_t dns_rdata_txt_next (dns_rdata_txt_t *txt)
isc_result_t dns_rdata_txt_current (dns_rdata_txt_t *txt, dns_rdata_txt_string_t *string)


Define Documentation

#define RRTYPE_TXT_ATTRIBUTES   (0)

Definition at line 25 of file txt_16.c.


Function Documentation

static isc_result_t fromtext_txt ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 28 of file txt_16.c.

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

static isc_result_t totext_txt ( ARGS_TOTEXT   )  [inline, static]

Definition at line 64 of file txt_16.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_txt ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 83 of file txt_16.c.

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

static isc_result_t towire_txt ( ARGS_TOWIRE   )  [inline, static]

Definition at line 102 of file txt_16.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_txt ( ARGS_COMPARE   )  [inline, static]

Definition at line 119 of file txt_16.c.

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

Referenced by casecompare_txt().

static isc_result_t fromstruct_txt ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 133 of file txt_16.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_txt ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 161 of file txt_16.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_txt ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 184 of file txt_16.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_txt ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 199 of file txt_16.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_txt ( ARGS_DIGEST   )  [inline, static]

Definition at line 210 of file txt_16.c.

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

static isc_boolean_t checkowner_txt ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 221 of file txt_16.c.

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

static isc_boolean_t checknames_txt ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 234 of file txt_16.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static isc_result_t casecompare_txt ( ARGS_COMPARE   )  [inline, static]

Definition at line 246 of file txt_16.c.

References compare_txt().

isc_result_t dns_rdata_txt_first ( dns_rdata_txt_t *  txt  ) 

Definition at line 251 of file txt_16.c.

References ISC_R_NOMORE, ISC_R_SUCCESS, and REQUIRE.

isc_result_t dns_rdata_txt_next ( dns_rdata_txt_t *  txt  ) 

Definition at line 265 of file txt_16.c.

References isc_region::base, INSIST, ISC_R_NOMORE, ISC_R_SUCCESS, isc_region::length, r, REQUIRE, and uint8_fromregion().

isc_result_t dns_rdata_txt_current ( dns_rdata_txt_t *  txt,
dns_rdata_txt_string_t *  string 
)

Definition at line 285 of file txt_16.c.

References isc_region::base, INSIST, ISC_R_SUCCESS, isc_region_consume, isc_region::length, r, REQUIRE, and uint8_fromregion().


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