notifier: Add __connman_notifier_online()
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 17 Apr 2012 12:58:36 +0000 (14:58 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 17 Apr 2012 13:34:18 +0000 (15:34 +0200)
For indicating the we entered the ONLINE state.

src/connman.h
src/notifier.c

index 5d8cbe7..4bf534f 100644 (file)
@@ -689,6 +689,7 @@ void __connman_notifier_cleanup(void);
 void __connman_notifier_service_add(struct connman_service *service,
                                        const char *name);
 void __connman_notifier_service_remove(struct connman_service *service);
+void __connman_notifier_online(enum connman_service_type type);
 void __connman_notifier_connect(enum connman_service_type type);
 void __connman_notifier_disconnect(enum connman_service_type type,
                                        enum connman_service_state old_state);
index db20cd2..fa32d3a 100644 (file)
@@ -150,6 +150,11 @@ void __connman_notifier_connect(enum connman_service_type type)
                technology_connected(type, TRUE);
 }
 
+void __connman_notifier_online(enum connman_service_type type)
+{
+       DBG("type %d", type);
+}
+
 void __connman_notifier_disconnect(enum connman_service_type type,
                                        enum connman_service_state old_state)
 {