/* base64.h: header for base64.c * * Copyright (C) 2002, 2003, 2004 Eggheads Development Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id: base64.h,v 1.3 2007-08-18 22:32:23 sven Exp $ */ #ifndef _EGG_BASE64_H_ #define _EGG_BASE64_H_ char *b64enc(const unsigned char *data, int len); int b64enc_buf(const unsigned char *data, int len, char *dest); char *b64dec(const unsigned char *data, int len); int b64dec_buf(const unsigned char *data, int len, char *dest); const char *b64enc_int(int i); char *b64enc_int_buf(int i, char *dest); int b64dec_int(const char *b); #endif /* !_EGG_BASE64_H_ */