summaryrefslogtreecommitdiffhomepage
path: root/base64.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-04 20:22:36 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-04 20:22:36 +0100
commit3c475f5027e870b19b9227375121b3b860eafb93 (patch)
treea72b0e4e991d07719e52539ac9275f9afa33c02d /base64.h
parentbf9ada75b941b40f30dfb25b063e064be062b7d8 (diff)
Added os.cpp and base64.cpp
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