#include <isc/lang.h>
#include <isc/types.h>
Go to the source code of this file.
Defines | |
#define | ISC_BASE32_H 1 |
Functions | |
ISC_LANG_BEGINDECLS isc_result_t | isc_base32_totext (isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) |
isc_result_t | isc_base32hex_totext (isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) |
isc_result_t | isc_base32hexnp_totext (isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) |
Convert data into base32 encoded text. | |
isc_result_t | isc_base32_decodestring (const char *cstr, isc_buffer_t *target) |
isc_result_t | isc_base32hex_decodestring (const char *cstr, isc_buffer_t *target) |
isc_result_t | isc_base32hexnp_decodestring (const char *cstr, isc_buffer_t *target) |
Decode a null-terminated string in base32, base32hex, or base32hex non-padded. | |
isc_result_t | isc_base32_tobuffer (isc_lex_t *lexer, isc_buffer_t *target, int length) |
isc_result_t | isc_base32hex_tobuffer (isc_lex_t *lexer, isc_buffer_t *target, int length) |
isc_result_t | isc_base32hexnp_tobuffer (isc_lex_t *lexer, isc_buffer_t *target, int length) |
Convert text encoded in base32, base32hex, or base32hex non-padded from a lexer context into data. | |
isc_result_t | isc_base32_decoderegion (isc_region_t *source, isc_buffer_t *target) |
isc_result_t | isc_base32hex_decoderegion (isc_region_t *source, isc_buffer_t *target) |
isc_result_t | isc_base32hexnp_decoderegion (isc_region_t *source, isc_buffer_t *target) |
Decode a packed (no white space permitted) region in base32, base32hex or base32hex non-padded. |
Definition in file base32.h.
ISC_LANG_BEGINDECLS isc_result_t isc_base32_totext | ( | isc_region_t * | source, | |
int | wordlength, | |||
const char * | wordbreak, | |||
isc_buffer_t * | target | |||
) |
isc_result_t isc_base32hex_totext | ( | isc_region_t * | source, | |
int | wordlength, | |||
const char * | wordbreak, | |||
isc_buffer_t * | target | |||
) |
Definition at line 129 of file base32.c.
References base32_totext(), and base32hex.
Referenced by checknext().
isc_result_t isc_base32hexnp_totext | ( | isc_region_t * | source, | |
int | wordlength, | |||
const char * | wordbreak, | |||
isc_buffer_t * | target | |||
) |
Convert data into base32 encoded text.
Notes:
Definition at line 137 of file base32.c.
References base32_totext(), and base32hex.
Referenced by dns_nsec3_hashname(), and totext_nsec3().
isc_result_t isc_base32_decodestring | ( | const char * | cstr, | |
isc_buffer_t * | target | |||
) |
isc_result_t isc_base32hex_decodestring | ( | const char * | cstr, | |
isc_buffer_t * | target | |||
) |
isc_result_t isc_base32hexnp_decodestring | ( | const char * | cstr, | |
isc_buffer_t * | target | |||
) |
Decode a null-terminated string in base32, base32hex, or base32hex non-padded.
Requires:
Definition at line 362 of file base32.c.
References base32_decodestring(), base32hex, and ISC_FALSE.
Referenced by fromtext_nsec3().
isc_result_t isc_base32_tobuffer | ( | isc_lex_t * | lexer, | |
isc_buffer_t * | target, | |||
int | length | |||
) |
isc_result_t isc_base32hex_tobuffer | ( | isc_lex_t * | lexer, | |
isc_buffer_t * | target, | |||
int | length | |||
) |
isc_result_t isc_base32hexnp_tobuffer | ( | isc_lex_t * | lexer, | |
isc_buffer_t * | target, | |||
int | length | |||
) |
Convert text encoded in base32, base32hex, or base32hex non-padded from a lexer context into data.
Requires:
Definition at line 328 of file base32.c.
References base32_tobuffer(), base32hex, and ISC_FALSE.
isc_result_t isc_base32_decoderegion | ( | isc_region_t * | source, | |
isc_buffer_t * | target | |||
) |
isc_result_t isc_base32hex_decoderegion | ( | isc_region_t * | source, | |
isc_buffer_t * | target | |||
) |
Definition at line 388 of file base32.c.
References base32_decoderegion(), base32hex, and ISC_TRUE.
Referenced by dns_nsec3_noexistnodata(), nsec3clean(), and record_found().
isc_result_t isc_base32hexnp_decoderegion | ( | isc_region_t * | source, | |
isc_buffer_t * | target | |||
) |
Decode a packed (no white space permitted) region in base32, base32hex or base32hex non-padded.
Requires:
Definition at line 393 of file base32.c.
References base32_decoderegion(), base32hex, and ISC_FALSE.
Referenced by checkowner_nsec3(), and isdelegation().