Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/base64.h @ 58:8aaa39e7aec8 HEAD
sendfile() works now properly with 64bit off_t
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 28 Aug 2002 03:11:51 +0300 |
parents | 3b1985cbc908 |
children | 4a7ab9e94f25 |
line wrap: on
line source
#ifndef __BASE64_H #define __BASE64_H /* Translates binary data into base64. Allocates memory from temporary pool. */ const char *base64_encode(const unsigned char *data, unsigned int size); /* Translates base64 data into binary modifying the data itself. Returns size of the binary data, or -1 if error occured. */ int base64_decode(char *data); #endif