cert.h File Reference

#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'.


Detailed Description

Definition in file cert.h.


Define Documentation

#define DNS_CERT_H   1

Definition at line 21 of file cert.h.


Function Documentation

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:

Returns:

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:

Ensures: Returns:

Definition at line 321 of file rcode.c.

References dns_mnemonic_totext().

Referenced by totext_cert().


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