]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/wpa/src/utils/base64.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / wpa / src / utils / base64.h
1 /*
2  * Base64 encoding/decoding (RFC1341)
3  * Copyright (c) 2005, Jouni Malinen <j@w1.fi>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14
15 #ifndef BASE64_H
16 #define BASE64_h
17
18 unsigned char * base64_encode(const unsigned char *src, size_t len,
19                               size_t *out_len);
20 unsigned char * base64_decode(const unsigned char *src, size_t len,
21                               size_t *out_len);
22
23 #endif /* BASE64_H */