secproto.h File Reference

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


Detailed Description

Definition in file secproto.h.


Define Documentation

#define DNS_SECPROTO_H   1

Definition at line 21 of file secproto.h.


Function Documentation

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:

Returns:

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:

Ensures, if the result is success: Returns:

Definition at line 362 of file rcode.c.

References dns_mnemonic_totext().


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