summaryrefslogtreecommitdiff
path: root/thirdparty/misc/base64.h
blob: ffcd0af97349d011ee01a8f97c2d8d4111ef080f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * File: base64.h
 * Description: Simple BASE64 conversion methods
 * Author: Ari Edelkind
 * License: Public Domain
 * Website: http://episec.com/people/edelkind/c.html
 */

#ifndef BASE64_H
#define BASE64_H

extern "C" {

long base64_encode(char *to, char *from, unsigned int len);
long base64_decode(char *to, char *from, unsigned int len);
};

#endif /* BASE64_H */