summaryrefslogtreecommitdiffstats
path: root/cmdparse.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmdparse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdparse.h b/cmdparse.h
index 7a87979..f0bc7a4 100644
--- a/cmdparse.h
+++ b/cmdparse.h
@@ -32,6 +32,7 @@
typedef struct {
char *name;
+ int family;
int port;
SourceParameters params;
} CPS_NTP_Source;
@@ -46,7 +47,7 @@ extern int CPS_GetSelectOption(char *option);
extern int CPS_ParseAllowDeny(char *line, int *all, IPAddr *ip, int *subnet_bits);
/* Parse a command to enable local reference */
-extern int CPS_ParseLocal(char *line, int *stratum, int *orphan, double *distance);
+extern int CPS_ParseLocal(char *line, int *stratum, int *orphan, double *distance, double *activate);
/* Remove extra white-space and comments */
extern void CPS_NormalizeLine(char *line);