libb64
include
b64
cencode.h
Go to the documentation of this file.
1
/*
2
cencode.h - c header for a base64 encoding algorithm
3
4
This is part of the libb64 project, and has been placed in the public domain.
5
For details, see http://sourceforge.net/projects/libb64
6
*/
7
8
#ifndef BASE64_CENCODE_H
9
#define BASE64_CENCODE_H
10
11
typedef
enum
12
{
13
step_A
,
step_B
,
step_C
14
}
base64_encodestep
;
15
16
typedef
struct
17
{
18
base64_encodestep
step
;
19
char
result
;
20
int
stepcount
;
21
}
base64_encodestate
;
22
23
void
base64_init_encodestate
(
base64_encodestate
* state_in);
24
25
char
base64_encode_value
(
char
value_in);
26
27
int
base64_encode_block
(
const
char
* plaintext_in,
int
length_in,
char
* code_out,
base64_encodestate
* state_in);
28
29
int
base64_encode_blockend
(
char
* code_out,
base64_encodestate
* state_in);
30
31
#endif
/* BASE64_CENCODE_H */
32
base64_encodestate::stepcount
int stepcount
Definition:
cencode.h:20
step_B
Definition:
cencode.h:13
base64_encodestate::step
base64_encodestep step
Definition:
cencode.h:18
base64_encode_block
int base64_encode_block(const char *plaintext_in, int length_in, char *code_out, base64_encodestate *state_in)
Definition:
cencode.c:26
step_A
Definition:
cencode.h:13
base64_init_encodestate
void base64_init_encodestate(base64_encodestate *state_in)
Definition:
cencode.c:12
base64_encode_value
char base64_encode_value(char value_in)
Definition:
cencode.c:19
base64_encodestep
base64_encodestep
Definition:
cencode.h:11
base64_encodestate::result
char result
Definition:
cencode.h:19
base64_encode_blockend
int base64_encode_blockend(char *code_out, base64_encodestate *state_in)
Definition:
cencode.c:89
step_C
Definition:
cencode.h:13
base64_encodestate
Definition:
cencode.h:16
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:22