summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-04-19 11:58:22 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-04-19 13:38:08 +0200
commitb7a9a8cbd5b5d2e36b6d33d4a150642c7d0cfdcc (patch)
tree4a244afe046b3a35fad9849be7077536ffdb48e2 /src/connman.h
parent9fe8694282b988d946b62b11a3b771ea2ec30d25 (diff)
downloadconnman-b7a9a8cbd5b5d2e36b6d33d4a150642c7d0cfdcc.tar.gz
connman-b7a9a8cbd5b5d2e36b6d33d4a150642c7d0cfdcc.tar.bz2
connman-b7a9a8cbd5b5d2e36b6d33d4a150642c7d0cfdcc.zip
notifier: Change __connman_notifier_count_connected() to *_is_connected()
No caller is interested in the number of connected services, only if there is one or more or none.
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connman.h b/src/connman.h
index 4bf534fc..80afffe5 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -701,7 +701,7 @@ void __connman_notifier_service_state_changed(struct connman_service *service,
void __connman_notifier_ipconfig_changed(struct connman_service *service,
struct connman_ipconfig *ipconfig);
-unsigned int __connman_notifier_count_connected(void);
+connman_bool_t __connman_notifier_is_connected(void);
const char *__connman_notifier_get_state(void);
#include <connman/rtnl.h>