summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-19 15:15:41 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-19 15:15:41 -0800
commitee9f4754caf6e114542a8f1929d8fbd7d906bfe7 (patch)
tree9420e55a09fcf5b820d1787e0508470f9560506a /src/manager.c
parent64dee569887c5c4e4a62a109f4ecf3c9093707bc (diff)
downloadconnman-ee9f4754caf6e114542a8f1929d8fbd7d906bfe7.tar.gz
connman-ee9f4754caf6e114542a8f1929d8fbd7d906bfe7.tar.bz2
connman-ee9f4754caf6e114542a8f1929d8fbd7d906bfe7.zip
Rename D-Bus helper function for variable arrays
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/manager.c b/src/manager.c
index 4d53aad6..81663ea8 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -54,14 +54,14 @@ static DBusMessage *get_properties(DBusConnection *conn,
connman_dbus_dict_append_basic(&dict, "ActiveProfile",
DBUS_TYPE_OBJECT_PATH, &str);
- connman_dbus_dict_append_variable_array(&dict, "Profiles",
+ connman_dbus_dict_append_array(&dict, "Profiles",
DBUS_TYPE_OBJECT_PATH, __connman_profile_list, NULL);
- connman_dbus_dict_append_variable_array(&dict, "Services",
+ connman_dbus_dict_append_array(&dict, "Services",
DBUS_TYPE_OBJECT_PATH, __connman_service_list, NULL);
- connman_dbus_dict_append_variable_array(&dict, "Providers",
+ connman_dbus_dict_append_array(&dict, "Providers",
DBUS_TYPE_OBJECT_PATH, __connman_provider_list, NULL);
- connman_dbus_dict_append_variable_array(&dict, "Devices",
+ connman_dbus_dict_append_array(&dict, "Devices",
DBUS_TYPE_OBJECT_PATH, __connman_device_list, NULL);
if (__connman_element_count(NULL, CONNMAN_ELEMENT_TYPE_CONNECTION) > 0)
@@ -76,11 +76,11 @@ static DBusMessage *get_properties(DBusConnection *conn,
connman_dbus_dict_append_basic(&dict, "OfflineMode",
DBUS_TYPE_BOOLEAN, &offlinemode);
- connman_dbus_dict_append_variable_array(&dict, "AvailableTechnologies",
+ connman_dbus_dict_append_array(&dict, "AvailableTechnologies",
DBUS_TYPE_STRING, __connman_notifier_list_registered, NULL);
- connman_dbus_dict_append_variable_array(&dict, "EnabledTechnologies",
+ connman_dbus_dict_append_array(&dict, "EnabledTechnologies",
DBUS_TYPE_STRING, __connman_notifier_list_enabled, NULL);
- connman_dbus_dict_append_variable_array(&dict, "ConnectedTechnologies",
+ connman_dbus_dict_append_array(&dict, "ConnectedTechnologies",
DBUS_TYPE_STRING, __connman_notifier_list_connected, NULL);
str = __connman_service_default();
@@ -88,9 +88,9 @@ static DBusMessage *get_properties(DBusConnection *conn,
connman_dbus_dict_append_basic(&dict, "DefaultTechnology",
DBUS_TYPE_STRING, &str);
- connman_dbus_dict_append_variable_array(&dict, "AvailableDebugs",
+ connman_dbus_dict_append_array(&dict, "AvailableDebugs",
DBUS_TYPE_STRING, __connman_debug_list_available, NULL);
- connman_dbus_dict_append_variable_array(&dict, "EnabledDebugs",
+ connman_dbus_dict_append_array(&dict, "EnabledDebugs",
DBUS_TYPE_STRING, __connman_debug_list_enabled, NULL);
connman_dbus_dict_close(&array, &dict);