summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-01-12 01:39:10 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-12 01:39:10 +0100
commit514fed50ad6be8459b5d1836e71b4eb1fd7cbd93 (patch)
treecfdd80e79ce087d0d86b67eef5c670108e880185 /src/service.c
parent45fcb10851cbcb5c3f13afde4ab5192ed9b2c5db (diff)
downloadconnman-514fed50ad6be8459b5d1836e71b4eb1fd7cbd93.tar.gz
connman-514fed50ad6be8459b5d1836e71b4eb1fd7cbd93.tar.bz2
connman-514fed50ad6be8459b5d1836e71b4eb1fd7cbd93.zip
service: Define proxy setting helper
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 7341099a..9afdc902 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1548,6 +1548,16 @@ const char *connman_service_get_nameserver(struct connman_service *service)
return service->nameserver;
}
+void connman_service_set_proxy_method(struct connman_service *service,
+ enum connman_service_proxy_method method)
+{
+ if (service == NULL)
+ return;
+
+ service->proxy = method;
+
+}
+
enum connman_service_proxy_method connman_service_get_proxy_method(
struct connman_service *service)
{