#include <isc/lang.h>
#include <isccc/types.h>
Go to the source code of this file.
Defines | |
#define | ISCCC_BASE64_H 1 |
Functions | |
ISC_LANG_BEGINDECLS isc_result_t | isccc_base64_encode (isccc_region_t *source, int wordlength, const char *wordbreak, isccc_region_t *target) |
Convert data into base64 encoded text. | |
isc_result_t | isccc_base64_decode (const char *cstr, isccc_region_t *target) |
Decode a null-terminated base64 string. |
Definition in file base64.h.
ISC_LANG_BEGINDECLS isc_result_t isccc_base64_encode | ( | isccc_region_t * | source, | |
int | wordlength, | |||
const char * | wordbreak, | |||
isccc_region_t * | target | |||
) |
Convert data into base64 encoded text.
Notes:
Definition at line 48 of file base64.c.
References isc_region::base, isc_base64_totext(), isc_buffer_init, isc_buffer_used, ISC_R_SUCCESS, isc_region::length, isccc_region::rend, and isccc_region::rstart.
isc_result_t isccc_base64_decode | ( | const char * | cstr, | |
isccc_region_t * | target | |||
) |
Decode a null-terminated base64 string.
Requires:
Definition at line 69 of file base64.c.
References isc_base64_decodestring(), isc_buffer_init, isc_buffer_used, ISC_R_SUCCESS, isccc_region::rend, and isccc_region::rstart.
Referenced by parse_config().