extern "C" {
#endif
+#define CONNMAN_TIMESERVER_PRIORITY_LOW -100
+#define CONNMAN_TIMESERVER_PRIORITY_DEFAULT 0
+#define CONNMAN_TIMESERVER_PRIORITY_HIGH 100
+
/**
* SECTION:timeserver
* @title: timeserver premitives
#include <string.h>
#include <arpa/inet.h>
+#include <gdbus.h>
+
#define CONNMAN_API_SUBJECT_TO_CHANGE
+#include <connman/types.h>
#include <connman/plugin.h>
#include <connman/task.h>
#include <connman/timeserver.h>
-#include <connman/driver.h>
#include <connman/log.h>
/*
static struct connman_timeserver_driver ntpd_driver = {
.name = "ntpd",
- .priority = CONNMAN_DRIVER_PRIORITY_DEFAULT,
+ .priority = CONNMAN_TIMESERVER_PRIORITY_DEFAULT,
.append = ntpd_append,
.remove = ntpd_remove,
.sync = ntpd_sync,