ngscopeclient 0.1-dev+51fbda87c
base64.h
1/*
2cdecode.h - c header for a base64 decoding algorithm
3
4This is part of the libb64 project, and has been placed in the public domain.
5For details, see http://sourceforge.net/projects/libb64
6*/
7
8#ifndef BASE64_CDECODE_H
9#define BASE64_CDECODE_H
10
11typedef enum
12{
13 step_a, step_b, step_c, step_d
14} base64_decodestep;
15
16typedef struct
17{
18 base64_decodestep step;
19 char plainchar;
21
22void base64_init_decodestate(base64_decodestate* state_in);
23
24int base64_decode_value(signed char value_in);
25
26int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in);
27
28#endif /* BASE64_CDECODE_H */
Definition: base64.h:17