00001 /* 00002 * Base64 encoding/decoding (RFC1341) 00003 * Copyright (c) 2005, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef BASE64_H 00016 #define BASE64_h 00017 00018 unsigned char * base64_encode(const unsigned char *src, size_t len, 00019 size_t *out_len); 00020 unsigned char * base64_decode(const unsigned char *src, size_t len, 00021 size_t *out_len); 00022 00023 #endif /* BASE64_H */