3 * @author devolve <http://sourceforge.net/projects/libb64>
10 * @section DESCRIPTION
12 * This is part of the libb64 project, and has been placed in the public domain.
13 * For details, see http://sourceforge.net/projects/libb64
15 * The cencode source provides support for base64 encoding data. It can be
16 * used in conjunction with the cdecode source. It's used by base64, which
17 * provides a higher-level interface to the functionality.
21 #ifndef BASE64_CENCODE_H
22 #define BASE64_CENCODE_H
26 step_A
, step_B
, step_C
31 base64_encodestep step
;
36 void base64_init_encodestate(base64_encodestate
* state_in
);
38 char base64_encode_value(char value_in
);
40 int base64_encode_block(const char* plaintext_in
, int length_in
, char* code_out
, base64_encodestate
* state_in
);
42 int base64_encode_blockend(char* code_out
, base64_encodestate
* state_in
);
44 #endif /* BASE64_CENCODE_H */