summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-26 00:32:19 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-26 00:32:19 +0100
commit90786bf4782b556cd59fbcdcf9d7a0ceec4ace9d (patch)
treed37a83e25ae0749b36e72aa1351aa4b3a7b999f0
parent3ed6ef3ec93a1c168270f7a3fb82b95ea354de6b (diff)
WIP: bytestring -> adata improvements
-rw-r--r--lib/base64.c1
-rw-r--r--lib/base64.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/base64.c b/lib/base64.c
index 1f7fb4f0..27bc7bc4 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -7,6 +7,7 @@
*/
#include "nest/bird.h"
+#include "nest/route.h"
#include "conf/conf.h"
#include "lib/resource.h"
#include "lib/base64.h"
diff --git a/lib/base64.h b/lib/base64.h
index 4c46b0d4..33d5d4db 100644
--- a/lib/base64.h
+++ b/lib/base64.h
@@ -2,7 +2,8 @@
#define _BIRD_BASE64_H_
#include "lib/resource.h"
-#include "nest/route.h"
+
+struct adata;
struct adata * base64_encode_bs(linpool *pool, const unsigned char *src, size_t len,
size_t *out_len);