diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-08-22 20:42:34 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-08-22 20:42:34 +0200 |
commit | 289f61e5023758f1ca805d19be5f2c19757090e3 (patch) | |
tree | 49577f82f450d56f2962ecbfbd0237034774a2c2 /src/utils.h | |
parent | 1f4a861853f37fccbd0aa25a9f1b6457117ee85c (diff) | |
download | dabmux-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.h | 11 |
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(); |