summaryrefslogtreecommitdiff
path: root/sldns/parseutil.h
diff options
context:
space:
mode:
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