diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/connman.h | 1 | ||||
-rw-r--r-- | src/network.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h index 7224546a..7f42a122 100644 --- a/src/connman.h +++ b/src/connman.h @@ -298,6 +298,7 @@ const char *__connman_network_get_type(struct connman_network *network); const char *__connman_network_get_group(struct connman_network *network); const char *__connman_network_get_ident(struct connman_network *network); connman_bool_t __connman_network_get_weakness(struct connman_network *network); +connman_bool_t __connman_network_get_connecting(struct connman_network *network); #include <connman/profile.h> diff --git a/src/network.c b/src/network.c index a14907a6..b52b2f60 100644 --- a/src/network.c +++ b/src/network.c @@ -629,6 +629,11 @@ connman_bool_t __connman_network_get_weakness(struct connman_network *network) return FALSE; } +connman_bool_t __connman_network_get_connecting(struct connman_network *network) +{ + return network->connecting; +} + /** * connman_network_set_available: * @network: network structure |