Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Misc/base64.h File Reference
#include <stddef.h>
#include <stdbool.h>
+ Include dependency graph for Misc/base64.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  base64_decode_context

Macros

#define BASE64_LENGTH(inlen)   ((((inlen) + 2) / 3) * 4)

Functions

bool base64_decode (struct base64_decode_context *ctx, const char *in, size_t inlen, char *out, size_t *outlen)
bool base64_decode_alloc (struct base64_decode_context *ctx, const char *in, size_t inlen, char **out, size_t *outlen)
void base64_decode_ctx_init (struct base64_decode_context *ctx)
void base64_encode (const char *in, size_t inlen, char *out, size_t outlen)
size_t base64_encode_alloc (const char *in, size_t inlen, char **out)
bool isbase64 (char ch)

Macro Definition Documentation

#define BASE64_LENGTH (   inlen)    ((((inlen) + 2) / 3) * 4)

Function Documentation

bool base64_decode ( struct base64_decode_context ctx,
const char *  in,
size_t  inlen,
char *  out,
size_t *  outlen 
)
bool base64_decode_alloc ( struct base64_decode_context ctx,
const char *  in,
size_t  inlen,
char **  out,
size_t *  outlen 
)
void base64_decode_ctx_init ( struct base64_decode_context ctx)
void base64_encode ( const char *  in,
size_t  inlen,
char *  out,
size_t  outlen 
)
size_t base64_encode_alloc ( const char *  in,
size_t  inlen,
char **  out 
)
bool isbase64 ( char  ch)