summaryrefslogtreecommitdiff
path: root/lib/base64.h
blob: 99c3ef82ce9bacd6be8c4ede75d1c7c961b0efc5 (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_ */