#include <isc/lang.h>
#include <dns/types.h>
Go to the source code of this file.
Defines | |
#define | DNS_SECPROTO_H 1 |
Functions | |
ISC_LANG_BEGINDECLS isc_result_t | dns_secproto_fromtext (dns_secproto_t *secprotop, isc_textregion_t *source) |
Convert the text 'source' refers to into a DNSSEC security protocol value. The text may contain either a mnemonic protocol name or a decimal protocol number. | |
isc_result_t | dns_secproto_totext (dns_secproto_t secproto, isc_buffer_t *target) |
Put a textual representation of the DNSSEC security protocol 'secproto' into 'target'. |
Definition in file secproto.h.
#define DNS_SECPROTO_H 1 |
Definition at line 21 of file secproto.h.
ISC_LANG_BEGINDECLS isc_result_t dns_secproto_fromtext | ( | dns_secproto_t * | secprotop, | |
isc_textregion_t * | source | |||
) |
Convert the text 'source' refers to into a DNSSEC security protocol value. The text may contain either a mnemonic protocol name or a decimal protocol number.
Requires:
Definition at line 354 of file rcode.c.
References dns_mnemonic_fromtext(), ISC_R_SUCCESS, and RETERR.
Referenced by fromtext_cdnskey(), fromtext_dnskey(), fromtext_key(), and fromtext_keydata().
isc_result_t dns_secproto_totext | ( | dns_secproto_t | secproto, | |
isc_buffer_t * | target | |||
) |
Put a textual representation of the DNSSEC security protocol 'secproto' into 'target'.
Requires:
Definition at line 362 of file rcode.c.
References dns_mnemonic_totext().