base64.h File Reference

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


Detailed Description

Definition in file base64.h.


Define Documentation

#define ISCCC_BASE64_H   1

Definition at line 35 of file base64.h.


Function Documentation

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:

Requires:

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.

Referenced by sign(), and verify().

isc_result_t isccc_base64_decode ( const char *  cstr,
isccc_region_t target 
)

Decode a null-terminated base64 string.

Requires:

Returns:

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().


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