diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-06-16 09:09:05 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-06-16 09:09:05 +0200 |
commit | e9ba40d3cbcfe608f542e867e39828f922d62ccb (patch) | |
tree | bed3df2c52d627b13d45709cfc903a6057abb98f /src/ClockTAI.h | |
parent | be8f9ea7ce46f3edfa1fef302af37594acf5af3f (diff) | |
download | dabmux-e9ba40d3cbcfe608f542e867e39828f922d62ccb.tar.gz dabmux-e9ba40d3cbcfe608f542e867e39828f922d62ccb.tar.bz2 dabmux-e9ba40d3cbcfe608f542e867e39828f922d62ccb.zip |
Remove USNO bulletin from ClockTAI
Their format does not include an expiration time, making caching more difficult
Diffstat (limited to 'src/ClockTAI.h')
-rw-r--r-- | src/ClockTAI.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ClockTAI.h b/src/ClockTAI.h index 6ab9ab6..ab70384 100644 --- a/src/ClockTAI.h +++ b/src/ClockTAI.h @@ -44,10 +44,10 @@ // We can keep this code, maybe for future use #define SUPPORT_SETTING_CLOCK_TAI 0 -/* Loads, parses and represents TAI-UTC offset information from the USNO bulletin */ +/* Loads, parses and represents TAI-UTC offset information from the IETF bulletin */ class ClockTAI { public: - // Fetch the bulletin from the USNO website and return the current + // Fetch the bulletin from the IETF website and return the current // TAI-UTC offset. // Throws runtime_error on failure. int get_offset(void); @@ -77,9 +77,6 @@ class ClockTAI { // read TAI offset from m_bulletin in IETF format int parse_ietf_bulletin(void); - // read TAI offset from m_bulletin in USNO format - int parse_usno_bulletin(void); - // callback that receives data from cURL size_t fill_bulletin(char *ptr, size_t size, size_t nmemb); |