rdatalist.h File Reference

A DNS rdatalist is a list of rdata of a common type and class. More...

#include <isc/lang.h>
#include <dns/types.h>

Go to the source code of this file.

Data Structures

struct  dns_rdatalist
 Clients may use this type directly. More...

Defines

#define DNS_RDATALIST_H   1

Functions

ISC_LANG_BEGINDECLS void dns_rdatalist_init (dns_rdatalist_t *rdatalist)
 Initialize rdatalist.
isc_result_t dns_rdatalist_tordataset (dns_rdatalist_t *rdatalist, dns_rdataset_t *rdataset)
 Make 'rdataset' refer to the rdata in 'rdatalist'.
isc_result_t dns_rdatalist_fromrdataset (dns_rdataset_t *rdataset, dns_rdatalist_t **rdatalist)
 Point 'rdatalist' to the rdatalist in 'rdataset'.


Detailed Description

A DNS rdatalist is a list of rdata of a common type and class.

MP:

Reliability: Resources: Security: Standards:

Definition in file rdatalist.h.


Define Documentation

#define DNS_RDATALIST_H   1

Definition at line 21 of file rdatalist.h.


Function Documentation

ISC_LANG_BEGINDECLS void dns_rdatalist_init ( dns_rdatalist_t rdatalist  ) 

Initialize rdatalist.

Ensures:

Definition at line 59 of file rdatalist.c.

References dns_rdatalist::covers, ISC_LINK_INIT, ISC_LIST_INIT, dns_rdatalist::rdclass, REQUIRE, dns_rdatalist::ttl, dns_rdatalist::type, and dns_rdatalist::upper.

Referenced by add_ns(), add_soa(), addnsec3(), addnsec3param(), addoptout(), addrdataset(), ATF_TC_BODY(), checkandaddsoa(), configure_staticstub(), copy_name(), diff_apply(), diff_tuple_tordataset(), dns_client_updaterec(), dns_diff_load(), dns_nsec_build(), dns_sdb_putrdata(), dns_sdlz_putrr(), generate(), insert_soa(), load_raw(), load_text(), log_rr(), newrdatalist(), nsec3clean(), query_dns64(), query_filter64(), resigned(), subtract(), and tuple2msgname().

isc_result_t dns_rdatalist_tordataset ( dns_rdatalist_t rdatalist,
dns_rdataset_t rdataset 
)

Make 'rdataset' refer to the rdata in 'rdatalist'.

Note:

Requires:

Ensures, on success,

Returns:

Definition at line 81 of file rdatalist.c.

References dns_rdatalist::covers, dns_rdataset::covers, dns_rdataset_isassociated(), DNS_RDATASET_VALID, ISC_R_SUCCESS, dns_rdataset::methods, dns_rdataset::private1, dns_rdataset::private2, dns_rdataset::private3, dns_rdataset::private5, dns_rdataset::privateuint4, dns_rdatalist::rdclass, dns_rdataset::rdclass, REQUIRE, dns_rdataset::trust, dns_rdatalist::ttl, dns_rdataset::ttl, dns_rdatalist::type, dns_rdataset::type, and dns_rdatalist::upper.

Referenced by add_ns(), add_rdata_to_list(), add_soa(), addnsec3(), addnsec3param(), addoptout(), addrdataset(), ATF_TC_BODY(), buildquery(), checkandaddsoa(), commit(), configure_staticstub(), copy_name(), diff_apply(), diff_tuple_tordataset(), dns_client_updaterec(), dns_diff_load(), dns_dnssec_signmessage(), dns_message_buildopt(), dns_message_setquerytsig(), dns_nsec_build(), dns_tsig_sign(), getquestions(), getsection(), insert_soa(), list_tordataset(), log_rr(), make_prereq(), notify_createmessage(), nsec3clean(), query_add_cname(), query_dns64(), query_filter64(), resigned(), sendstream(), subtract(), tuple2msgname(), and update_addordelete().

isc_result_t dns_rdatalist_fromrdataset ( dns_rdataset_t rdataset,
dns_rdatalist_t **  rdatalist 
)

Point 'rdatalist' to the rdatalist in 'rdataset'.

Requires:

Ensures, on success,

Returns:

Definition at line 111 of file rdatalist.c.

References ISC_R_SUCCESS, dns_rdataset::private1, and REQUIRE.

Referenced by dns_client_freeupdate(), and getsection().


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