Add __connman_timerserver_sync() to resolve a list of timeservers
authorAlok Barsode <alok.barsode@linux.intel.com>
Fri, 3 Feb 2012 18:26:00 +0000 (20:26 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 4 Feb 2012 00:15:36 +0000 (01:15 +0100)
commit8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b
tree5c4f10d0a52f75cb8ddf2da311b29a6460accabd
parent1db29a8c79e10f801d8d9ce0c861bf8b0a972f4d
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.
include/timeserver.h
src/connman.h
src/ntp.c
src/service.c
src/timeserver.c