summaryrefslogtreecommitdiff
path: root/include/service.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-02-15 15:51:49 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-02-15 18:05:32 +0100
commita1530efdb8f9da676ff3edaa6cc848dd40524333 (patch)
tree1831a934a300ffe57266275479866f60e9381733 /include/service.h
parent460ad9cff5ff0850e1c860ca3f7627c6eb7e0575 (diff)
downloadconnman-a1530efdb8f9da676ff3edaa6cc848dd40524333.tar.gz
connman-a1530efdb8f9da676ff3edaa6cc848dd40524333.tar.bz2
connman-a1530efdb8f9da676ff3edaa6cc848dd40524333.zip
service: Refactor Service nameserver API
__connman_service_append/remove_namerserver() is renamed to __connman_service_nameserver_append/remove to be more consistent with the other Service API naming. Also the semantic changes to append/remove instead of set/clear. The list of configured nameservers takes preference over the list of discovered (DHCP, VPN, ...) nameservers.
Diffstat (limited to 'include/service.h')
-rw-r--r--include/service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/service.h b/include/service.h
index 910fe1bc..91c14bf4 100644
--- a/include/service.h
+++ b/include/service.h
@@ -105,7 +105,7 @@ enum connman_service_type connman_service_get_type(struct connman_service *servi
char *connman_service_get_interface(struct connman_service *service);
const char *connman_service_get_domainname(struct connman_service *service);
-const char *connman_service_get_nameserver(struct connman_service *service);
+char **connman_service_get_nameservers(struct connman_service *service);
void connman_service_set_proxy_method(struct connman_service *service, enum connman_service_proxy_method method);
enum connman_service_proxy_method connman_service_get_proxy_method(struct connman_service *service);
char **connman_service_get_proxy_servers(struct connman_service *service);