summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@linux.intel.com>2012-04-05 13:20:14 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-04-05 18:55:06 +0300
commit5bb3888705ad0fd2f545f4b7fe1dad13c9d7f009 (patch)
tree620f8cb635b654b28a5c8b58b1d97299eed3f06c /src/connman.h
parent7a1a8e658bf3fcba09efbb842fdf6c739a5cea67 (diff)
downloadconnman-5bb3888705ad0fd2f545f4b7fe1dad13c9d7f009.tar.gz
connman-5bb3888705ad0fd2f545f4b7fe1dad13c9d7f009.tar.bz2
connman-5bb3888705ad0fd2f545f4b7fe1dad13c9d7f009.zip
service: Add __connman_service_get_default
Export the default service via this api. This is helpful to obtain info like default service's timeserver list and gateway.
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 501b5baf..49a1586a 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -566,6 +566,7 @@ struct connman_service *__connman_service_lookup_from_network(struct connman_net
struct connman_service *__connman_service_lookup_from_index(int index);
struct connman_service *__connman_service_create_from_network(struct connman_network *network);
struct connman_service *__connman_service_create_from_provider(struct connman_provider *provider);
+struct connman_service *__connman_service_get_default(void);
void __connman_service_update_from_network(struct connman_network *network);
void __connman_service_remove_from_network(struct connman_network *network);
void __connman_service_read_ip4config(struct connman_service *service);