keyflags.h File Reference

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

Go to the source code of this file.

Defines

#define DNS_KEYFLAGS_H   1

Functions

ISC_LANG_BEGINDECLS isc_result_t dns_keyflags_fromtext (dns_keyflags_t *flagsp, isc_textregion_t *source)
 Convert the text 'source' refers to into a DNSSEC KEY flags value. The text may contain either a set of flag mnemonics separated by vertical bars or a decimal flags value. For compatibility with older versions of BIND and the DNSSEC signer, octal values prefixed with a zero and hexadecimal values prefixed with "0x" are also accepted.


Detailed Description

Definition in file keyflags.h.


Define Documentation

#define DNS_KEYFLAGS_H   1

Definition at line 21 of file keyflags.h.


Function Documentation

ISC_LANG_BEGINDECLS isc_result_t dns_keyflags_fromtext ( dns_keyflags_t flagsp,
isc_textregion_t source 
)

Convert the text 'source' refers to into a DNSSEC KEY flags value. The text may contain either a set of flag mnemonics separated by vertical bars or a decimal flags value. For compatibility with older versions of BIND and the DNSSEC signer, octal values prefixed with a zero and hexadecimal values prefixed with "0x" are also accepted.

Requires:

Returns:

Definition at line 375 of file rcode.c.

References isc_textregion::base, DNS_R_UNKNOWNFLAG, ISC_R_BADNUMBER, ISC_R_SUCCESS, ISC_TRUE, keyflags, isc_textregion::length, keyflag::mask, maybe_numeric(), keyflag::name, text, and keyflag::value.

Referenced by fromtext_cdnskey(), fromtext_dnskey(), fromtext_key(), and fromtext_keydata().


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