summaryrefslogtreecommitdiffhomepage
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/base64.h b/base64.h
new file mode 100644
index 0000000..87d6daf
--- /dev/null
+++ b/base64.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <string>
+
+#define EXPORT __attribute__((visibility("default")))
+
+namespace Reichwein::Base64 {
+
+EXPORT std::string decode64(const std::string &val);
+EXPORT std::string encode64(const std::string &val);
+
+} // namespace