#include "setup.h"#include <stdlib.h>#include <string.h>#include <curl/mprintf.h>#include "urldata.h"#include "easyif.h"#include "base64.h"#include "memory.h"#include "memdebug.h"Go to the source code of this file.
Defines | |
| #define | _MPRINTF_REPLACE |
Functions | |
| static void | decodeQuantum (unsigned char *dest, const char *src) |
| size_t | Curl_base64_decode (const char *src, unsigned char **outptr) |
| size_t | Curl_base64_encode (struct SessionHandle *data, const char *inp, size_t insize, char **outptr) |
Variables | |
| static const char | table64 [] |
| size_t Curl_base64_decode | ( | const char * | src, | |
| unsigned char ** | outptr | |||
| ) |
| size_t Curl_base64_encode | ( | struct SessionHandle * | data, | |
| const char * | inp, | |||
| size_t | insize, | |||
| char ** | outptr | |||
| ) |
Definition at line 143 of file base64.c.
References Curl_convert_to_network(), CURLE_OK, free, malloc, NULL, and table64.
Referenced by Curl_ldap(), Curl_output_basic(), and Curl_output_digest().
| static void decodeQuantum | ( | unsigned char * | dest, | |
| const char * | src | |||
| ) | [static] |
const char table64[] [static] |
Initial value:
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
Definition at line 52 of file base64.c.
Referenced by Curl_base64_encode(), and decodeQuantum().
1.5.6