From: Jukka Rissanen Date: Thu, 5 Apr 2012 09:00:52 +0000 (+0300) Subject: service: Return service split routing status X-Git-Tag: 2.0_alpha~483 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5b2875fca80a2b8b3cfe29191ac77639d5aaca6;p=framework%2Fconnectivity%2Fconnman.git service: Return service split routing status --- diff --git a/src/connman.h b/src/connman.h index a83c2a4..800f1ae 100644 --- a/src/connman.h +++ b/src/connman.h @@ -596,6 +596,7 @@ int __connman_service_timeserver_remove(struct connman_service *service, void __connman_service_set_pac(struct connman_service *service, const char *pac); connman_bool_t __connman_service_is_hidden(struct connman_service *service); +connman_bool_t __connman_service_is_split_routing(struct connman_service *service); int __connman_service_get_index(struct connman_service *service); void __connman_service_set_domainname(struct connman_service *service, const char *domainname); diff --git a/src/service.c b/src/service.c index cd7234f..120b41a 100644 --- a/src/service.c +++ b/src/service.c @@ -2081,6 +2081,12 @@ connman_bool_t __connman_service_is_hidden(struct connman_service *service) return service->hidden; } +connman_bool_t +__connman_service_is_split_routing(struct connman_service *service) +{ + return service->do_split_routing; +} + int __connman_service_get_index(struct connman_service *service) { if (service == NULL)