summaryrefslogtreecommitdiff
path: root/lib/base64.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:58:22 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:58:22 +0100
commitd854968453a5a32c5bc786d0c83ab0040de17bea (patch)
tree504076f1565e8cb9ab1b0fd944d7d68d47095cdd /lib/base64.h
parentdc665727dcf149873be53c6e9a1616ae7b8d97e6 (diff)
parent8041b0e93695e788fe16343aa71334e834e22b35 (diff)
Merge branch 'tmp3' into wireguard-next-tmp7-1
Diffstat (limited to 'lib/base64.h')
-rw-r--r--lib/base64.h6
1 files changed, 4 insertions, 2 deletions
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_ */