summaryrefslogtreecommitdiffhomepage
path: root/os.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 /os.h
parentbf9ada75b941b40f30dfb25b063e064be062b7d8 (diff)
Added os.cpp and base64.cpp
Diffstat (limited to 'os.h')
-rw-r--r--os.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/os.h b/os.h
new file mode 100644
index 0000000..fd88894
--- /dev/null
+++ b/os.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <string>
+
+#define EXPORT __attribute__((visibility("default")))
+
+namespace Reichwein::OS {
+
+EXPORT std::string uptime_host();
+EXPORT std::string uptime_process();
+
+} // namespace