summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/service.h2
-rw-r--r--src/service.c4
-rw-r--r--src/wpad.c4
3 files changed, 6 insertions, 4 deletions
diff --git a/include/service.h b/include/service.h
index 51eab481..9de5b9c8 100644
--- a/include/service.h
+++ b/include/service.h
@@ -93,6 +93,8 @@ void connman_service_unref(struct connman_service *service);
enum connman_service_type connman_service_get_type(struct connman_service *service);
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);
const char *connman_service_get_proxy_autoconfig(struct connman_service *service);
#ifdef __cplusplus
diff --git a/src/service.c b/src/service.c
index 25d0f9d7..427ebcc5 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1467,7 +1467,7 @@ void __connman_service_set_domainname(struct connman_service *service,
domain_changed(service);
}
-const char *__connman_service_get_domainname(struct connman_service *service)
+const char *connman_service_get_domainname(struct connman_service *service)
{
if (service == NULL)
return NULL;
@@ -1475,7 +1475,7 @@ const char *__connman_service_get_domainname(struct connman_service *service)
return service->domainname;
}
-const char *__connman_service_get_nameserver(struct connman_service *service)
+const char *connman_service_get_nameserver(struct connman_service *service)
{
if (service == NULL)
return NULL;
diff --git a/src/wpad.c b/src/wpad.c
index 4c6b3d17..b224d925 100644
--- a/src/wpad.c
+++ b/src/wpad.c
@@ -123,11 +123,11 @@ void __connman_wpad_start(struct connman_service *service)
if (index < 0)
return;
- domainname = __connman_service_get_domainname(service);
+ domainname = connman_service_get_domainname(service);
if (domainname == NULL)
return;
- nameserver = __connman_service_get_nameserver(service);
+ nameserver = connman_service_get_nameserver(service);
if (nameserver == NULL)
return;