summaryrefslogtreecommitdiff
path: root/conf.h
diff options
context:
space:
mode:
authorVincent Blut <vincent.debian@free.fr>2017-09-15 11:25:29 +0200
committerVincent Blut <vincent.debian@free.fr>2017-09-15 11:25:29 +0200
commit3477174f91d20233ca2f49f585971c2056d25823 (patch)
treeb7609cde204b804f20c9363cb1988ac418d0125d /conf.h
parent796680e25963b176ee19884bd7acbd0b98cf6e09 (diff)
New upstream version 3.2
Diffstat (limited to 'conf.h')
-rw-r--r--conf.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/conf.h b/conf.h
index 7ff1dba..25c98e1 100644
--- a/conf.h
+++ b/conf.h
@@ -31,7 +31,7 @@
#include "addressing.h"
#include "reference.h"
-extern void CNF_Initialise(int restarted);
+extern void CNF_Initialise(int restarted, int client_only);
extern void CNF_Finalise(void);
extern char *CNF_GetRtcDevice(void);
@@ -60,7 +60,6 @@ extern int CNF_GetLogRefclocks(void);
extern int CNF_GetLogTempComp(void);
extern char *CNF_GetKeysFile(void);
extern char *CNF_GetRtcFile(void);
-extern int CNF_GetDumpOnExit(void);
extern int CNF_GetManualEnabled(void);
extern int CNF_GetCommandPort(void);
extern int CNF_GetRtcOnUtc(void);
@@ -119,10 +118,18 @@ extern char *CNF_GetHwclockFile(void);
extern int CNF_GetInitSources(void);
extern double CNF_GetInitStepThreshold(void);
+typedef enum {
+ CNF_HWTS_RXFILTER_ANY,
+ CNF_HWTS_RXFILTER_NONE,
+ CNF_HWTS_RXFILTER_NTP,
+ CNF_HWTS_RXFILTER_ALL,
+} CNF_HwTs_RxFilter;
+
typedef struct {
char *name;
int minpoll;
int nocrossts;
+ CNF_HwTs_RxFilter rxfilter;
double precision;
double tx_comp;
double rx_comp;