summaryrefslogtreecommitdiffstats
path: root/src/core/utils/epoch.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils/epoch.hh')
-rw-r--r--src/core/utils/epoch.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/utils/epoch.hh b/src/core/utils/epoch.hh
new file mode 100644
index 0000000..4bf5460
--- /dev/null
+++ b/src/core/utils/epoch.hh
@@ -0,0 +1,15 @@
+#pragma once
+
+namespace utils
+{
+std::uint64_t unix_seconds(void);
+std::uint64_t unix_milliseconds(void);
+std::uint64_t unix_microseconds(void);
+} // namespace utils
+
+namespace utils
+{
+std::int64_t signed_unix_seconds(void);
+std::int64_t signed_unix_milliseconds(void);
+std::int64_t signed_unix_microseconds(void);
+} // namespace utils