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

#include "lib/resource.h"
#include "nest/route.h"

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_ */