summaryrefslogtreecommitdiff
path: root/lib/base64.h
blob: 33d5d4dbd8f982e3a935203888de5e1fcef0a565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _BIRD_BASE64_H_
#define _BIRD_BASE64_H_

#include "lib/resource.h"

struct adata;

struct adata * base64_encode_bs(linpool *pool, const unsigned char *src, size_t len,
				size_t *out_len);
struct adata * base64_decode_bs(linpool *pool, const unsigned char *src, size_t len,
				size_t *out_len);

#endif	/* _BIRD_BASE64_H_ */