summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-10-03 18:49:14 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-10-03 18:49:14 +0000
commit70f0f80c49b989f346bd3932f26bffcbdb7f75db (patch)
tree16deea62dded828940627087e1f4c83958cfe2fa
parenta13f569db6e188218919014e97e37e457f5940ee (diff)
Fix dict signatures.
-rw-r--r--hcid/adapter.c4
-rw-r--r--hcid/dbus-service.c2
-rw-r--r--network/connection.c2
-rw-r--r--network/server.c2
-rw-r--r--serial/manager.c2
-rw-r--r--serial/port.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 496d13d3..1ea9990f 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -3300,7 +3300,7 @@ GSList *service_classes_str(uint32_t class)
static DBusMethodVTable adapter_methods[] = {
{ "GetInfo", adapter_get_info,
- "", "{sv}" },
+ "", "a{sv}" },
{ "GetAddress", adapter_get_address,
"", "s" },
{ "GetVersion", adapter_get_version,
@@ -3345,7 +3345,7 @@ static DBusMethodVTable adapter_methods[] = {
"s", "" },
{ "GetRemoteInfo", adapter_get_remote_info,
- "s", "{sv}" },
+ "s", "a{sv}" },
{ "GetRemoteServiceRecord", adapter_get_remote_svc,
"su", "ay" },
{ "GetRemoteServiceRecordAsXML", adapter_get_remote_svc_xml,
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 87807c6f..eb86a329 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -647,7 +647,7 @@ static DBusHandlerResult remove_trust(DBusConnection *conn,
}
static DBusMethodVTable service_methods[] = {
- { "GetInfo", get_info, "", "{sv}" },
+ { "GetInfo", get_info, "", "a{sv}" },
{ "GetIdentifier", get_identifier, "", "s" },
{ "GetName", get_name, "", "s" },
{ "GetDescription", get_description, "", "s" },
diff --git a/network/connection.c b/network/connection.c
index 245d4cc9..821560f8 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -622,7 +622,7 @@ static DBusMethodVTable connection_methods[] = {
{ "CancelConnect", connection_cancel, "", "" },
{ "Disconnect", connection_disconnect, "", "" },
{ "IsConnected", is_connected, "", "b" },
- { "GetInfo", get_info, "", "{sv}", },
+ { "GetInfo", get_info, "", "a{sv}" },
{ NULL, NULL, NULL, NULL }
};
diff --git a/network/server.c b/network/server.c
index 4ac7328f..dd4c816a 100644
--- a/network/server.c
+++ b/network/server.c
@@ -1111,7 +1111,7 @@ static DBusMethodVTable server_methods[] = {
{ "GetName", get_name, "", "s" },
{ "SetAddressRange", set_address_range, "ss", "" },
{ "SetRouting", set_routing, "s", "" },
- { "GetInfo", get_info, "", "{sv}" },
+ { "GetInfo", get_info, "", "a{sv}" },
{ NULL, NULL, NULL, NULL }
};
diff --git a/serial/manager.c b/serial/manager.c
index ba9ef112..3d1f3629 100644
--- a/serial/manager.c
+++ b/serial/manager.c
@@ -1631,7 +1631,7 @@ static DBusHandlerResult proxy_set_serial_params(DBusConnection *conn,
static DBusMethodVTable proxy_methods[] = {
{ "Enable", proxy_enable, "", "" },
{ "Disable", proxy_disable, "", "" },
- { "GetInfo", proxy_get_info, "", "{sv}" },
+ { "GetInfo", proxy_get_info, "", "a{sv}" },
{ "SetSerialParameters", proxy_set_serial_params, "syys", "" },
{ NULL, NULL, NULL, NULL },
};
diff --git a/serial/port.c b/serial/port.c
index 30b1412e..b12a2645 100644
--- a/serial/port.c
+++ b/serial/port.c
@@ -217,7 +217,7 @@ static DBusMethodVTable port_methods[] = {
{ "GetAdapter", port_get_adapter, "", "s" },
{ "GetName", port_get_name, "", "s" },
{ "GetServiceName", port_get_service_name, "", "s" },
- { "GetInfo", port_get_info, "", "{sv}" },
+ { "GetInfo", port_get_info, "", "a{sv}" },
{ NULL, NULL, NULL, NULL },
};