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

#include "lib/resource.h"

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

#endif	/* _BIRD_BASE64_H_ */