mailattach/include/base64.h
tyrolyean c379556e54
Added file utilities and better base 64de/encode
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
2020-04-30 00:27:03 +02:00

18 lines
437 B
C

/*
* Base64 encoding/decoding (RFC1341)
* Copyright (c) 2005, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
*/
#ifndef BASE64_H
#define BASE64_H
#include <stddef.h>
unsigned char * base64_encode(const unsigned char *src, size_t len,
size_t *out_len);
unsigned char * base64_decode(const unsigned char *src, size_t len,
size_t *out_len);
#endif /* BASE64_H */