summaryrefslogtreecommitdiff
path: root/test/http_decoder/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_decoder/base64.h')
-rw-r--r--test/http_decoder/base64.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/http_decoder/base64.h b/test/http_decoder/base64.h
deleted file mode 100644
index 9bea95a..0000000
--- a/test/http_decoder/base64.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef BASE64_H
-#define BASE64_H
-
-#define BASE64_ENCODE_OUT_SIZE(s) ((unsigned int)((((s) + 2) / 3) * 4 + 1))
-#define BASE64_DECODE_OUT_SIZE(s) ((unsigned int)(((s) / 4) * 3))
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-/*
- * out is null-terminated encode string.
- * return values is out length, exclusive terminating `\0'
- */
-unsigned int
-base64_encode(const unsigned char *in, unsigned int inlen, char *out);
-
-/*
- * return values is out length
- */
-unsigned int
-base64_decode(const char *in, unsigned int inlen, unsigned char *out);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* BASE64_H */