aboutsummaryrefslogtreecommitdiffstats
path: root/tileserver/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'tileserver/base64.h')
-rw-r--r--tileserver/base64.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tileserver/base64.h b/tileserver/base64.h
new file mode 100644
index 000000000..13acd356c
--- /dev/null
+++ b/tileserver/base64.h
@@ -0,0 +1,21 @@
+/*
+ * base64.h:
+ * Base64 and "base64ish" encoding and decoding.
+ *
+ * Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
+ * Email: chris@mysociety.org; WWW: http://www.mysociety.org/
+ *
+ * $Id: base64.h,v 1.1 2006-09-20 10:25:14 chris Exp $
+ *
+ */
+
+#ifndef __BASE64_H_ /* include guard */
+#define __BASE64_H_
+
+/* base64.c */
+char *base64_encode(const void *in, const size_t inlen, char *out,
+ const bool b64ish, const boolnopad);
+size_t base64_decode(const char *in, void *out, size_t *outlen,
+ const bool b64ish);
+
+#endif /* __BASE64_H_ */