memcached  1.6.15
About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.
  Fossies Dox: memcached-1.6.15.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

base64.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t base64_encode (const unsigned char *src, size_t len, unsigned char *out, size_t out_len)
 
size_t base64_decode (const unsigned char *src, size_t len, unsigned char *out, size_t out_len)
 

Function Documentation

◆ base64_decode()

size_t base64_decode ( const unsigned char *  src,
size_t  len,
unsigned char *  out,
size_t  out_len 
)

base64_decode - Base64 decode @src: Data to be decoded @len: Length of the data to be decoded @out: Output buffer to decode into @out_len: Length of output buffer Returns: Length of encoded data, or 0 on failure

Definition at line 150 of file base64.c.

References dtable.

Referenced by _meta_flag_preparse(), and process_meta_command().

◆ base64_encode()

size_t base64_encode ( const unsigned char *  src,
size_t  len,
unsigned char *  out,
size_t  out_len 
)

base64_encode - Base64 encode @src: Data to be encoded @len: Length of the data to be encoded @out: output uffer @out_len: length of output buffer Returns: Number of actual bytes encoded into the buffer or 0 on failure

Output buffer is nul terminated to make it easier to use as a C string. The nul terminator is * not included in the return length.

Definition at line 93 of file base64.c.

References base64_table.

Referenced by process_meta_command().