aboutsummaryrefslogtreecommitdiffstats
path: root/src/Utils.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-15 10:58:11 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-15 10:58:11 +0200
commita759d1fae861e7f0836283dae5dce49dae6528fc (patch)
tree23694a2bcc40cb075988eda7300b1ee42cf07d61 /src/Utils.h
parent2980f73251c631960fcbe048eda861afa7a1be89 (diff)
downloaddabmod-a759d1fae861e7f0836283dae5dce49dae6528fc.tar.gz
dabmod-a759d1fae861e7f0836283dae5dce49dae6528fc.tar.bz2
dabmod-a759d1fae861e7f0836283dae5dce49dae6528fc.zip
Add parameters sdr.synchronous and mainloop.running_since
Diffstat (limited to 'src/Utils.h')
-rw-r--r--src/Utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Utils.h b/src/Utils.h
index 82728e9..367dd48 100644
--- a/src/Utils.h
+++ b/src/Utils.h
@@ -36,6 +36,7 @@
#include <cstdio>
#include <ctime>
#include <cstdlib>
+#include <cstdint>
#include <unistd.h>
#include "ConfigParser.h"
@@ -59,3 +60,5 @@ double parseChannel(const std::string& chan);
// dabMode is either 1, 2, 3, 4, corresponding to TM I, TM II, TM III and TM IV.
// throws a runtime_error if dabMode is not one of these values.
std::chrono::milliseconds transmission_frame_duration(unsigned int dabmode);
+
+time_t get_clock_realtime_seconds();