#include <isc/lang.h>#include <dns/types.h>Go to the source code of this file.
Defines | |
| #define | DNS_CERT_H 1 |
Functions | |
| ISC_LANG_BEGINDECLS isc_result_t | dns_cert_fromtext (dns_cert_t *certp, isc_textregion_t *source) |
| Convert the text 'source' refers to into a certificate type. The text may contain either a mnemonic type name or a decimal type number. | |
| isc_result_t | dns_cert_totext (dns_cert_t cert, isc_buffer_t *target) |
| Put a textual representation of certificate type 'cert' into 'target'. | |
Definition in file cert.h.
| ISC_LANG_BEGINDECLS isc_result_t dns_cert_fromtext | ( | dns_cert_t * | certp, | |
| isc_textregion_t * | source | |||
| ) |
Convert the text 'source' refers to into a certificate type. The text may contain either a mnemonic type name or a decimal type number.
Requires:
Definition at line 313 of file rcode.c.
References dns_mnemonic_fromtext(), ISC_R_SUCCESS, and RETERR.
Referenced by fromtext_cert().
| isc_result_t dns_cert_totext | ( | dns_cert_t | cert, | |
| isc_buffer_t * | target | |||
| ) |
Put a textual representation of certificate type 'cert' into 'target'.
Requires:
Definition at line 321 of file rcode.c.
References dns_mnemonic_totext().
Referenced by totext_cert().