summaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-08-22 20:42:34 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-08-22 20:42:34 +0200
commit289f61e5023758f1ca805d19be5f2c19757090e3 (patch)
tree49577f82f450d56f2962ecbfbd0237034774a2c2 /src/utils.h
parent1f4a861853f37fccbd0aa25a9f1b6457117ee85c (diff)
downloaddabmux-289f61e5023758f1ca805d19be5f2c19757090e3.tar.gz
dabmux-289f61e5023758f1ca805d19be5f2c19757090e3.tar.bz2
dabmux-289f61e5023758f1ca805d19be5f2c19757090e3.zip
Switch FIG0/10 to long form
The latest draft specification deprecates the short form, and most muxes today used the long form.
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/utils.h b/src/utils.h
index 544c6ca..7ffa325 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -3,11 +3,12 @@
2011, 2012 Her Majesty the Queen in Right of Canada (Communications
Research Center Canada)
- Includes modifications
- 2012, Matthias P. Braendli, matthias.braendli@mpb.li
+ Copyright (C) 2016
+ Matthias P. Braendli, matthias.braendli@mpb.li
This file contains a set of utility functions that are used to show
- useful information to the user.
+ useful information to the user, and handles time and date for the
+ the signalling.
*/
/*
This file is part of ODR-DabMux.
@@ -32,7 +33,9 @@
#include <memory>
#include "MuxElements.h"
-time_t getDabTime();
+/* Must be called once per ETI frame to update the time */
+void update_dab_time(void);
+void get_dab_time(time_t *time, uint32_t *millis);
/* Shows the introductory header on program start */
void header_message();