#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. |
Definition in file keyflags.h.
#define DNS_KEYFLAGS_H 1 |
Definition at line 21 of file keyflags.h.
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:
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().