timeserver: Create timeserver list
authorAlok Barsode <alok.barsode@linux.intel.com>
Thu, 5 Apr 2012 10:20:16 +0000 (13:20 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 15:55:31 +0000 (18:55 +0300)
commita7eeb9fa0b1ac566196ea76ddb188953022e06b0
treef8452fa00620083f1d97f4775486484a963a7c05
parent85d7f68601947d147c1eccff2d06cab74039f9f6
timeserver: Create timeserver list

Create a timeserver list for NTP query. This list consists of
timeserver provided via DHCP and the ones set by user in that
order. We recreate this list everytime the default service changes
or one of the timeserver values change.

Use getaddrinfo to determine if the timeserver is a domain name or
a IP address.
src/connman.h
src/timeserver.c