eid-viewer
eid-viewer library
base64dec.h
1 
2 /*
3 cdecode.h - c header for a base64 decoding 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_CDECODE_H
10 #define BASE64_CDECODE_H
11 
12 typedef enum
13 {
14  step_a, step_b, step_c, step_d
15 } base64_decodestep;
16 
17 typedef struct
18 {
19  base64_decodestep step;
20  char plainchar;
22 
23 void base64_init_decodestate(base64_decodestate * state_in);
24 
25 int base64_decode_value(char value_in);
26 
27 int base64_decode_block(const char *code_in, const int length_in,
28  char *plaintext_out, base64_decodestate * state_in);
29 
30 #endif /* BASE64_CDECODE_H */
Definition: base64dec.h:17