#include <config.h>#include <isc/base64.h>#include <isc/buffer.h>#include <isc/region.h>#include <isc/result.h>#include <isccc/base64.h>#include <isccc/result.h>#include <isccc/util.h>Go to the source code of this file.
Functions | |
| 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.c.
| 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().