Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (20 sloc) 0.648 kb
5ec8d49 Alexander Davidson 3.6 feature: enable loading and saving settings from INI file (with b64 ...
authored
1 /*
2 cdecode.h - c header for a base64 decoding 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_CDECODE_H
9 #define BASE64_CDECODE_H
10
11 typedef enum
12 {
13 step_a, step_b, step_c, step_d
14 } base64_decodestep;
15
16 typedef struct
17 {
18 base64_decodestep step;
19 char plainchar;
20 } base64_decodestate;
21
22 void base64_init_decodestate(base64_decodestate* state_in);
23
24 int base64_decode_value(char value_in);
25
26 int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in);
27
28 #endif /* BASE64_CDECODE_H */
Something went wrong with that request. Please try again.