summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-07 02:17:35 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-07 02:17:35 +0100
commit6f24662363c391c653d4a90518b0ff664f3ae5c4 (patch)
treee18e09c863908916eeb30d70a1e4e4a158e80f67 /include
parentad004e33439795c2809aea26463bd440c17e3bf0 (diff)
downloadconnman-6f24662363c391c653d4a90518b0ff664f3ae5c4.tar.gz
connman-6f24662363c391c653d4a90518b0ff664f3ae5c4.tar.bz2
connman-6f24662363c391c653d4a90518b0ff664f3ae5c4.zip
Add support for setting network availability
Diffstat (limited to 'include')
-rw-r--r--include/network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index 70b7c35b..5c62502f 100644
--- a/include/network.h
+++ b/include/network.h
@@ -67,6 +67,8 @@ extern int connman_network_get_index(struct connman_network *network);
extern void connman_network_set_protocol(struct connman_network *network,
enum connman_network_protocol protocol);
+extern int connman_network_set_available(struct connman_network *network,
+ connman_bool_t available);
extern int connman_network_set_connected(struct connman_network *network,
connman_bool_t connected);
extern connman_bool_t connman_network_get_remember(struct connman_network *network);