blob: bd77c687a23230e4bfa890078876d2c0dccd81b0 [file] [log] [blame]
willy tarreau9e138862006-05-14 23:06:28 +02001/*
Willy Tarreau2dd0d472006-06-29 17:53:05 +02002 * include/common/base64.h
willy tarreau9e138862006-05-14 23:06:28 +02003 * Ascii to Base64 conversion as described in RFC1421.
Willy Tarreaubaaee002006-06-26 02:48:02 +02004 *
5 * Copyright 2006 Willy Tarreau <w@1wt.eu>
willy tarreau9e138862006-05-14 23:06:28 +02006 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 *
12 */
13
Willy Tarreau2dd0d472006-06-29 17:53:05 +020014#ifndef _COMMON_BASE64_H
15#define _COMMON_BASE64_H
willy tarreau9e138862006-05-14 23:06:28 +020016
Willy Tarreaue3ba5f02006-06-29 18:54:54 +020017#include <common/config.h>
18
willy tarreau9e138862006-05-14 23:06:28 +020019int a2base64(char *in, int ilen, char *out, int olen);
Willy Tarreaubaaee002006-06-26 02:48:02 +020020extern const char base64tab[];
willy tarreau9e138862006-05-14 23:06:28 +020021
Willy Tarreau2dd0d472006-06-29 17:53:05 +020022#endif /* _COMMON_BASE64_H */