htp_base64.h File Reference
#include "bstr.h"
Go to the source code of this file.
Detailed Description
- Author:
- Ivan Ristic <ivanr@webkreator.com>
Enumeration Type Documentation
- Enumerator:
step_a |
|
step_b |
|
step_c |
|
step_d |
|
Function Documentation
int htp_base64_decode |
( |
htp_base64_decoder * |
decoder, |
|
|
const char * |
code_in, |
|
|
const int |
length_in, |
|
|
char * |
plaintext_out, |
|
|
int |
length_out | |
|
) |
| | |
Feed the supplied memory range to the decoder.
- Parameters:
-
| decoder | |
| code_in | |
| length_in | |
| plaintext_out | |
| length_out | |
- Returns:
- how many bytes were placed into plaintext output
bstr* htp_base64_decode_bstr |
( |
bstr * |
input |
) |
|
Base64-decode input, given as bstring.
- Parameters:
-
- Returns:
- new base64-decoded bstring
bstr* htp_base64_decode_mem |
( |
const char * |
data, |
|
|
size_t |
len | |
|
) |
| | |
Base64-decode input, given as memory range.
- Parameters:
-
- Returns:
- new base64-decoded bstring
int htp_base64_decode_single |
( |
char |
value_in |
) |
|
Decode single base64-encoded character.
- Parameters:
-
- Returns:
- decoded character
Initialize base64 decoder.
- Parameters:
-