summaryrefslogtreecommitdiffstats
path: root/src/lib/istream-base64.h
blob: 4f422f7bd66d289e9ebbb1107192fe5ed686a285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ISTREAM_BASE64_H
#define ISTREAM_BASE64_H

struct istream *
i_stream_create_base64_encoder(struct istream *input,
			       unsigned int chars_per_line, bool crlf);
struct istream *
i_stream_create_base64url_encoder(struct istream *input,
				  unsigned int chars_per_line, bool crlf);

struct istream *
i_stream_create_base64_decoder(struct istream *input);
struct istream *
i_stream_create_base64url_decoder(struct istream *input);

#endif