extern int connman_network_set_available(struct connman_network *network,
connman_bool_t available);
+extern connman_bool_t connman_network_get_available(struct connman_network *network);
extern int connman_network_set_connected(struct connman_network *network,
connman_bool_t connected);
extern int connman_network_set_remember(struct connman_network *network,
}
/**
+ * connman_network_get_available:
+ * @network: network structure
+ *
+ * Get network available setting
+ */
+connman_bool_t connman_network_get_available(struct connman_network *network)
+{
+ return network->available;
+}
+
+/**
* connman_network_set_connected:
* @network: network structure
* @connected: connected state