summaryrefslogtreecommitdiff
path: root/src/timesync/timesyncd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timesync/timesyncd.h')
-rw-r--r--src/timesync/timesyncd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/timesync/timesyncd.h b/src/timesync/timesyncd.h
index 6dd1388ea8..370b966fc6 100644
--- a/src/timesync/timesyncd.h
+++ b/src/timesync/timesyncd.h
@@ -24,6 +24,7 @@
#include "ratelimit.h"
#include "sd-event.h"
#include "sd-resolve.h"
+#include "sd-network.h"
typedef struct Manager Manager;
typedef struct ServerAddress ServerAddress;
@@ -49,6 +50,10 @@ struct Manager {
RateLimit ratelimit;
+ /* network */
+ sd_event_source *network_event_source;
+ sd_network_monitor *network_monitor;
+
/* peer */
sd_resolve_query *resolve_query;
sd_event_source *event_receive;