From 8041b0e93695e788fe16343aa71334e834e22b35 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 25 Nov 2023 23:58:05 +0100 Subject: fix bytestring to adata merge --- lib/base64.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/base64.h') diff --git a/lib/base64.h b/lib/base64.h index 8ca4dd9b..99c3ef82 100644 --- a/lib/base64.h +++ b/lib/base64.h @@ -3,9 +3,11 @@ #include "lib/resource.h" -struct bytestring * base64_encode_bs(linpool *pool, const unsigned char *src, size_t len, +struct adata; + +struct adata * 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, +struct adata * base64_decode_bs(linpool *pool, const unsigned char *src, size_t len, size_t *out_len); #endif /* _BIRD_BASE64_H_ */ -- cgit v1.2.3