summaryrefslogtreecommitdiffstats
path: root/include/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/base64.h')
-rw-r--r--include/base64.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/base64.h b/include/base64.h
index 0df510281d..7da35e21ba 100644
--- a/include/base64.h
+++ b/include/base64.h
@@ -1,8 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef __BASE64_H
#define __BASE64_H
void uuencode(char *p, const char *src, int length);
int decode_base64(char *dst, int dst_len, const char *src);
+int decode_base64url(char *dst, int dst_len, const char *src);
#define BASE64_LENGTH(len) (4 * (((len) + 2) / 3))