-static volatile gint registered[MAX_TECHNOLOGIES];
-static volatile gint enabled[MAX_TECHNOLOGIES];
-static volatile gint connected[MAX_TECHNOLOGIES];
-
-void __connman_notifier_list_registered(DBusMessageIter *iter, void *user_data)
-{
- int i;
-
- for (i = 0; i < MAX_TECHNOLOGIES; i++) {
- const char *type = __connman_service_type2string(i);
-
- if (type == NULL)
- continue;
-
- if (g_atomic_int_get(®istered[i]) > 0)
- dbus_message_iter_append_basic(iter,
- DBUS_TYPE_STRING, &type);
- }
-}
-
-void __connman_notifier_list_enabled(DBusMessageIter *iter, void *user_data)
-{
- int i;
-
- for (i = 0; i < MAX_TECHNOLOGIES; i++) {
- const char *type = __connman_service_type2string(i);
-
- if (type == NULL)
- continue;
-
- if (g_atomic_int_get(&enabled[i]) > 0)
- dbus_message_iter_append_basic(iter,
- DBUS_TYPE_STRING, &type);
- }
-}
-
-void __connman_notifier_list_connected(DBusMessageIter *iter, void *user_data)
-{
- int i;
-
- for (i = 0; i < MAX_TECHNOLOGIES; i++) {
- const char *type = __connman_service_type2string(i);
-
- if (type == NULL)
- continue;
-
- if (g_atomic_int_get(&connected[i]) > 0)
- dbus_message_iter_append_basic(iter,
- DBUS_TYPE_STRING, &type);
- }
-}