diff options
Diffstat (limited to 'src/lib/istream-base64.h')
-rw-r--r-- | src/lib/istream-base64.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/istream-base64.h b/src/lib/istream-base64.h new file mode 100644 index 0000000..4f422f7 --- /dev/null +++ b/src/lib/istream-base64.h @@ -0,0 +1,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 |