Apache Portable Runtime
Macros | Functions
apr_encode.h File Reference

APR-UTIL Encoding. More...

#include "apr.h"
#include "apr_general.h"

Go to the source code of this file.

Macros

#define APR_ENCODE_STRING   (-1)
 
#define APR_ENCODE_NONE   0
 
#define APR_ENCODE_RELAXED   1
 
#define APR_ENCODE_NOPADDING   2
 
#define APR_ENCODE_URL   4
 
#define APR_ENCODE_BASE64URL   (APR_ENCODE_NOPADDING | APR_ENCODE_URL)
 
#define APR_ENCODE_BASE32HEX   8
 
#define APR_ENCODE_COLON   16
 
#define APR_ENCODE_LOWER   32
 

Functions

apr_status_t apr_encode_base64 (char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_encode_base64_binary (char *dest, const unsigned char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pencode_base64 (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pencode_base64_binary (apr_pool_t *p, const unsigned char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_decode_base64 (char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_decode_base64_binary (unsigned char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pdecode_base64 (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const unsigned char * apr_pdecode_base64_binary (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_encode_base32 (char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_encode_base32_binary (char *dest, const unsigned char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pencode_base32 (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pencode_base32_binary (apr_pool_t *p, const unsigned char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_decode_base32 (char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_decode_base32_binary (unsigned char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pdecode_base32 (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const unsigned char * apr_pdecode_base32_binary (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_encode_base16 (char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_encode_base16_binary (char *dest, const unsigned char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pencode_base16 (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pencode_base16_binary (apr_pool_t *p, const unsigned char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_decode_base16 (char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
apr_status_t apr_decode_base16_binary (unsigned char *dest, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const char * apr_pdecode_base16 (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 
const unsigned char * apr_pdecode_base16_binary (apr_pool_t *p, const char *src, apr_ssize_t slen, int flags, apr_size_t *len)
 

Detailed Description

APR-UTIL Encoding.