peapod  0.1.0
EAPOL Proxy Daemon
Functions
b64enc.h File Reference

Function prototypes for b64enc.c. More...

#include <stdint.h>
#include <stdlib.h>
Include dependency graph for b64enc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * b64enc (const uint8_t *in, size_t len)
 Base64 encoder. More...
 

Detailed Description

Function prototypes for b64enc.c.

Function Documentation

char* b64enc ( const uint8_t *  in,
size_t  len 
)

Base64 encoder.

Parameters
inData to be Base64-encoded
lenThe length of in
Returns
A newly allocated C string with the Base64-encoded contents of in if successful, or NULL if unsuccessful
Note
If successful, caller is responsible for free(3)ing the result