summaryrefslogtreecommitdiff
path: root/sldns/parseutil.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-10-27 15:09:16 +0000
committerCy Schubert <cy@FreeBSD.org>2020-10-27 15:09:16 +0000
commit4cb89f2eee3bb358f0491932ab0498b5319f4229 (patch)
treefc2691469564e7d7e552247f2b2c6e04dd7efb8a /sldns/parseutil.h
parent7973006f41cdaf144441d1a39f9f075053435e2f (diff)
Diffstat (limited to 'sldns/parseutil.h')
-rw-r--r--sldns/parseutil.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sldns/parseutil.h b/sldns/parseutil.h
index 10a2630a9733e..7eb23317f285d 100644
--- a/sldns/parseutil.h
+++ b/sldns/parseutil.h
@@ -92,13 +92,16 @@ size_t sldns_b64_ntop_calculate_size(size_t srcsize);
int sldns_b64_ntop(uint8_t const *src, size_t srclength,
char *target, size_t targsize);
+int sldns_b64url_ntop(uint8_t const *src, size_t srclength, char *target,
+ size_t targsize);
/**
* calculates the size needed to store the result of sldns_b64_pton
*/
size_t sldns_b64_pton_calculate_size(size_t srcsize);
-
int sldns_b64_pton(char const *src, uint8_t *target, size_t targsize);
+int sldns_b64url_pton(char const *src, size_t srcsize, uint8_t *target,
+ size_t targsize);
/**
* calculates the size needed to store the result of b32_ntop