eid-viewer
eid-viewer library
Loading...
Searching...
No Matches
base64dec.h
1
2/*
3cdecode.h - c header for a base64 decoding algorithm
4
5This is part of the libb64 project, and has been placed in the public domain.
6For details, see http://sourceforge.net/projects/libb64
7*/
8
9#ifndef BASE64_CDECODE_H
10#define BASE64_CDECODE_H
11
12typedef enum
13{
14 step_a, step_b, step_c, step_d
15} base64_decodestep;
16
17typedef struct
18{
19 base64_decodestep step;
20 char plainchar;
22
23void base64_init_decodestate(base64_decodestate * state_in);
24
25int base64_decode_value(char value_in);
26
27int 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:18