fwknop/base64.h
Damien Stuart 962e20310d Added base64 and md5 code.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@6 510a4753-2344-4c79-9c09-4d669213fbeb
2008-12-02 23:54:51 +00:00

39 lines
1.0 KiB
C

/* $Id$
*****************************************************************************
*
* File: base64.h
*
* Author: Damien S. Stuart
*
* Purpose: Header for the fwknop base64.c
*
* License (GNU Public License):
*
* 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
*
*****************************************************************************
*/
#ifndef _BASE64_H_
#define _BASE64_H_
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
/* Prototypes
*/
void b64_encode(char *in, char *out, int in_len);
void b64_decode(char *in, char *out, int out_len);
#endif /* _BASE64_H_ */
/***EOF***/