summaryrefslogtreecommitdiff
path: root/include/timeserver.h
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@linux.intel.com>2012-02-03 20:26:00 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-04 01:15:36 +0100
commit8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b (patch)
tree5c4f10d0a52f75cb8ddf2da311b29a6460accabd /include/timeserver.h
parent1db29a8c79e10f801d8d9ce0c861bf8b0a972f4d (diff)
downloadconnman-8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b.tar.gz
connman-8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b.tar.bz2
connman-8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b.zip
Add __connman_timerserver_sync() to resolve a list of timeservers
__connman_timerserver_sync() resolves system timeservers one at a time and queries the resolved server or the 1st of the resolved servers for time correction. If the resolution fails it resolves the next one. __connman_timerserver_sync_next() resolves the next system timeserver. __connman_timerserver_stop() stops this query.If the user modifies the system timeserver list, we restart the ntp process.
Diffstat (limited to 'include/timeserver.h')
-rw-r--r--include/timeserver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/timeserver.h b/include/timeserver.h
index 3749482c..e37fada0 100644
--- a/include/timeserver.h
+++ b/include/timeserver.h
@@ -38,7 +38,6 @@ extern "C" {
int connman_timeserver_append(const char *server);
int connman_timeserver_remove(const char *server);
-void connman_timeserver_sync(void);
int __connman_timeserver_system_append(const char *server);
int __connman_timeserver_system_remove(const char *server);