aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/base64.h
blob: e5f113197dac5aab4827b2b069ecf29bd11868c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This code implements the BASE64 algorithm.
 * This code is in the public domain; do with it what you wish.
 *
 * @file base64.c
 * @brief This code implements the BASE64 algorithm
 * @author Matthieu Speder
 */
#ifndef BASE64_H
#define BASE64_H

#include "mhd_options.h"
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#elif defined(HAVE_STDLIB_H)
#include <stdlib.h>
#else
#include <stdio.h>
#endif

char *
BASE64Decode (const char *src,
              size_t in_len,
              size_t *out_len);

#endif /* !BASE64_H */