summaryrefslogtreecommitdiffstats
path: root/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stubs.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/stubs.c b/stubs.c
index b729c2f..9d0f848 100644
--- a/stubs.c
+++ b/stubs.c
@@ -201,7 +201,7 @@ NSR_AddSource(NTP_Remote_Address *remote_addr, NTP_Source_Type type,
}
NSR_Status
-NSR_AddSourceByName(char *name, int port, int pool, NTP_Source_Type type,
+NSR_AddSourceByName(char *name, int family, int port, int pool, NTP_Source_Type type,
SourceParameters *params, uint32_t *conf_id)
{
return NSR_TooManySources;
@@ -321,6 +321,12 @@ NSR_ModifyMinstratum(IPAddr *address, int new_min_stratum)
}
int
+NSR_ModifyOffset(IPAddr *address, double new_offset)
+{
+ return 0;
+}
+
+int
NSR_ModifyPolltarget(IPAddr *address, int new_poll_target)
{
return 0;
@@ -419,6 +425,12 @@ RCL_ReportSource(RPT_SourceReport *report, struct timespec *now)
memset(report, 0, sizeof (*report));
}
+int
+RCL_ModifyOffset(uint32_t ref_id, double offset)
+{
+ return 0;
+}
+
#endif /* !FEAT_REFCLOCK */
#ifndef FEAT_SIGND