summaryrefslogtreecommitdiff
path: root/src/timedate/timedate-sntp.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-03-17 00:18:55 +0100
committerKay Sievers <kay@vrfy.org>2014-03-17 00:18:55 +0100
commit9ec65868668839136ee10bcf6785938c3ad9a1a1 (patch)
tree8b47a133303277f981b23db98c9de707fa9dde30 /src/timedate/timedate-sntp.h
parenta47b9e628367eb39ce00c3774e2b6488684fe6c0 (diff)
timedated: move test logging to test program
Diffstat (limited to 'src/timedate/timedate-sntp.h')
-rw-r--r--src/timedate/timedate-sntp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timedate/timedate-sntp.h b/src/timedate/timedate-sntp.h
index 09107c72cf..7f17390952 100644
--- a/src/timedate/timedate-sntp.h
+++ b/src/timedate/timedate-sntp.h
@@ -31,3 +31,4 @@ int sntp_new(SNTPContext **sntp, sd_event *e);
SNTPContext *sntp_unref(SNTPContext *sntp);
int sntp_server_connect(SNTPContext *sntp, const char *server);
void sntp_server_disconnect(SNTPContext *sntp);
+void sntp_report_register(SNTPContext *sntp, void (*report)(usec_t poll_usec, double offset, double delay, double jitter, bool spike));