haproxy/include/base64.h
willy tarreau 9e1388671a [MEDIUM] added the new 'stats' keyword with user authentication subsystem.
Right now it only validates the user/passwd according to a specified list,
and lets the user pass through the proxy if the authentication is OK, and
it refuses any invalid access with a 401 Unauthorized response.
2006-05-14 23:06:28 +02:00

18 lines
484 B
C

/*
* Ascii to Base64 conversion as described in RFC1421.
* Copyright 2006 Willy Tarreau <willy@w.ods.org>
*
* 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.
*
*/
#ifndef BASE64_H
#define BASE64_H
int a2base64(char *in, int ilen, char *out, int olen);
#endif /* BASE64_H */