#include "curl_setup.h"
#include "urldata.h"
#include "warnless.h"
#include "curl_base64.h"
#include "non-ascii.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Go to the source code of this file.
Functions |
static CURLcode | base64_encode (const char *table64, struct Curl_easy *data, const char *inputbuff, size_t insize, char **outptr, size_t *outlen) |
CURLcode | Curl_base64_decode (const char *src, unsigned char **outptr, size_t *outlen) |
CURLcode | Curl_base64_encode (struct Curl_easy *data, const char *inputbuff, size_t insize, char **outptr, size_t *outlen) |
CURLcode | Curl_base64url_encode (struct Curl_easy *data, const char *inputbuff, size_t insize, char **outptr, size_t *outlen) |
static size_t | decodeQuantum (unsigned char *dest, const char *src) |
Variables |
static const char | base64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
static const char | base64url [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" |
Function Documentation
static CURLcode base64_encode |
( |
const char * |
table64, |
|
|
struct Curl_easy * |
data, |
|
|
const char * |
inputbuff, |
|
|
size_t |
insize, |
|
|
char ** |
outptr, |
|
|
size_t * |
outlen |
|
) |
| [static] |
static size_t decodeQuantum |
( |
unsigned char * |
dest, |
|
|
const char * |
src |
|
) |
| [static] |
Variable Documentation
const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" [static] |
const char base64url[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" [static] |