eid-viewer
eid-viewer library
Loading...
Searching...
No Matches
b64
base64enc.h
1
2
/*
3
cencode.h - c header for a base64 encoding algorithm
4
5
This is part of the libb64 project, and has been placed in the public domain.
6
For details, see http://sourceforge.net/projects/libb64
7
*/
8
9
#ifndef BASE64_CENCODE_H
10
#define BASE64_CENCODE_H
11
12
typedef
enum
13
{
14
step_A, step_B, step_C
15
} base64_encodestep;
16
17
typedef
struct
18
{
19
base64_encodestep step;
20
char
result;
21
int
stepcount;
22
}
base64_encodestate
;
23
24
void
base64_init_encodestate(
base64_encodestate
* state_in);
25
26
char
base64_encode_value(
char
value_in);
27
28
int
base64_encode_block(
const
char
*plaintext_in,
int
length_in,
29
char
*code_out,
base64_encodestate
* state_in);
30
31
int
base64_encode_blockend(
char
*code_out,
base64_encodestate
* state_in);
32
33
#endif
/* BASE64_CENCODE_H */
base64_encodestate
Definition
base64enc.h:18
Generated by
1.9.8