2006-05-14 21:06:28 +00:00
|
|
|
/*
|
2006-06-29 15:53:05 +00:00
|
|
|
* include/common/base64.h
|
2006-05-14 21:06:28 +00:00
|
|
|
* Ascii to Base64 conversion as described in RFC1421.
|
2006-06-26 00:48:02 +00:00
|
|
|
*
|
|
|
|
* Copyright 2006 Willy Tarreau <w@1wt.eu>
|
2006-05-14 21:06:28 +00:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2006-06-29 15:53:05 +00:00
|
|
|
#ifndef _COMMON_BASE64_H
|
|
|
|
#define _COMMON_BASE64_H
|
2006-05-14 21:06:28 +00:00
|
|
|
|
2006-06-29 16:54:54 +00:00
|
|
|
#include <common/config.h>
|
|
|
|
|
2006-05-14 21:06:28 +00:00
|
|
|
int a2base64(char *in, int ilen, char *out, int olen);
|
2006-06-26 00:48:02 +00:00
|
|
|
extern const char base64tab[];
|
2006-05-14 21:06:28 +00:00
|
|
|
|
2006-06-29 15:53:05 +00:00
|
|
|
#endif /* _COMMON_BASE64_H */
|