region.h File Reference

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

Go to the source code of this file.

Data Structures

struct  isc_region
struct  isc_textregion
struct  isc_constregion
struct  isc_consttextregion

Defines

#define ISC_REGION_H   1
#define isc_region_consume(r, l)
#define isc_textregion_consume(r, l)
#define isc_constregion_consume(r, l)

Functions

ISC_LANG_BEGINDECLS int isc_region_compare (isc_region_t *r1, isc_region_t *r2)
 Compares the contents of two regions.


Detailed Description

Definition in file region.h.


Define Documentation

#define ISC_REGION_H   1

Definition at line 21 of file region.h.

#define isc_region_consume ( r,
 ) 

Value:

do { \
                isc_region_t *_r = (r); \
                unsigned int _l = (l); \
                INSIST(_r->length >= _l); \
                _r->base += _l; \
                _r->length -= _l; \
        } while (0)
The region structure is not opaque, and is usually directly manipulated. Some macros are defined below for convenience.

Definition at line 57 of file region.h.

Referenced by additionaldata_afsdb(), additionaldata_in_kx(), additionaldata_in_srv(), additionaldata_lp(), additionaldata_mx(), additionaldata_naptr(), additionaldata_rt(), base32_decoderegion(), base32_totext(), casecompare_hip(), casecompare_ipseckey(), casecompare_lp(), casecompare_nsec(), casecompare_rrsig(), checknames_afsdb(), checknames_in_a6(), checknames_in_srv(), checknames_minfo(), checknames_mx(), checknames_rt(), checknames_soa(), checkowner_nsec3(), compare_afsdb(), compare_any_tsig(), compare_ch_a(), compare_in_a6(), compare_in_kx(), compare_in_px(), compare_in_srv(), compare_minfo(), compare_mx(), compare_naptr(), compare_rp(), compare_rt(), compare_sig(), compare_soa(), compare_tkey(), compare_uri(), digest_afsdb(), digest_ch_a(), digest_in_a6(), digest_in_kx(), digest_in_px(), digest_in_srv(), digest_minfo(), digest_mx(), digest_naptr(), digest_nxt(), digest_rp(), digest_rt(), digest_soa(), dns_dnssec_signmessage(), dns_nsec3_noexistnodata(), dns_rdata_opt_current(), dns_rdata_txt_current(), dns_request_createraw4(), dns_tsig_sign(), dns_tsig_verify(), fromstruct_opt(), fromstruct_spf(), fromstruct_txt(), fromwire_any_tsig(), fromwire_caa(), fromwire_cdnskey(), fromwire_dnskey(), fromwire_hip(), fromwire_in_a6(), fromwire_in_apl(), fromwire_key(), fromwire_loc(), fromwire_nsec3(), fromwire_nsec3param(), fromwire_opt(), fromwire_tkey(), isc_base64_totext(), isc_hex_totext(), isdelegation(), mkey_dumpzone(), multitxt_totext(), nsec3clean(), record_found(), tostruct_afsdb(), tostruct_any_tsig(), tostruct_caa(), tostruct_cdnskey(), tostruct_cds(), tostruct_cert(), tostruct_ch_a(), tostruct_dlv(), tostruct_dnskey(), tostruct_ds(), tostruct_gpos(), tostruct_hinfo(), tostruct_hip(), tostruct_in_a6(), tostruct_in_kx(), tostruct_in_px(), tostruct_in_srv(), tostruct_in_wks(), tostruct_ipseckey(), tostruct_isdn(), tostruct_key(), tostruct_keydata(), tostruct_loc(), tostruct_lp(), tostruct_minfo(), tostruct_mx(), tostruct_naptr(), tostruct_nsec(), tostruct_nsec3(), tostruct_nsec3param(), tostruct_nxt(), tostruct_rp(), tostruct_rrsig(), tostruct_rt(), tostruct_sig(), tostruct_soa(), tostruct_sshfp(), tostruct_tkey(), tostruct_tlsa(), tostruct_uri(), tostruct_x25(), totext_afsdb(), totext_any_tsig(), totext_cdnskey(), totext_cds(), totext_cert(), totext_ch_a(), totext_dlv(), totext_dnskey(), totext_ds(), totext_hip(), totext_in_a6(), totext_in_apl(), totext_in_kx(), totext_in_nsap(), totext_in_px(), totext_in_srv(), totext_in_wks(), totext_ipseckey(), totext_key(), totext_keydata(), totext_l32(), totext_l64(), totext_loc(), totext_lp(), totext_minfo(), totext_mx(), totext_naptr(), totext_nid(), totext_nsec(), totext_nsec3(), totext_nsec3param(), totext_nxt(), totext_opt(), totext_rp(), totext_rrsig(), totext_rt(), totext_sig(), totext_soa(), totext_sshfp(), totext_tkey(), totext_tlsa(), totext_uri(), towire_afsdb(), towire_any_tsig(), towire_ch_a(), towire_in_a6(), towire_in_kx(), towire_in_px(), towire_in_srv(), towire_minfo(), towire_mx(), towire_naptr(), towire_nsec(), towire_nxt(), towire_rp(), towire_rrsig(), towire_rt(), towire_sig(), towire_soa(), towire_tkey(), tsig_verify_tcp(), txt_totext(), uint16_consume_fromregion(), and uint8_consume_fromregion().

#define isc_textregion_consume ( r,
 ) 

Value:

do { \
                isc_textregion_t *_r = (r); \
                unsigned int _l = (l); \
                INSIST(_r->length >= _l); \
                _r->base += _l; \
                _r->length -= _l; \
        } while (0)
The region structure is not opaque, and is usually directly manipulated. Some macros are defined below for convenience.

Definition at line 66 of file region.h.

Referenced by atob_tobuffer(), fromtext_in_nsap(), and genname().

#define isc_constregion_consume ( r,
 ) 

Value:

do { \
                isc_constregion_t *_r = (r); \
                unsigned int _l = (l); \
                INSIST(_r->length >= _l); \
                _r->base += _l; \
                _r->length -= _l; \
        } while (0)
The region structure is not opaque, and is usually directly manipulated. Some macros are defined below for convenience.

Definition at line 75 of file region.h.


Function Documentation

ISC_LANG_BEGINDECLS int isc_region_compare ( isc_region_t r1,
isc_region_t r2 
)

Compares the contents of two regions.

Requires:

Returns:

Definition at line 31 of file region.c.

References isc_region::base, isc_region::length, and REQUIRE.

Referenced by casecompare_hip(), casecompare_ipseckey(), casecompare_nsec(), casecompare_openpgpkey(), casecompare_rrsig(), compare_any_tsig(), compare_caa(), compare_cdnskey(), compare_cds(), compare_cert(), compare_dlv(), compare_dnskey(), compare_ds(), compare_eui48(), compare_eui64(), compare_gpos(), compare_hinfo(), compare_hip(), compare_in_a(), compare_in_aaaa(), compare_in_apl(), compare_in_dhcid(), compare_in_nsap(), compare_in_wks(), compare_ipseckey(), compare_isdn(), compare_key(), compare_keydata(), compare_l32(), compare_l64(), compare_loc(), compare_lp(), compare_nid(), compare_nsec(), compare_nsec3(), compare_nsec3param(), compare_null(), compare_nxt(), compare_openpgpkey(), compare_opt(), compare_rrsig(), compare_sig(), compare_soa(), compare_spf(), compare_sshfp(), compare_tkey(), compare_tlsa(), compare_txt(), compare_unspec(), compare_uri(), compare_x25(), dns_rdata_casecompare(), dns_rdata_compare(), and pub_compare().


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