summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-06-15 11:06:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-06-15 11:06:34 +0000
commit950da2453656f7e4da59d30a3c7cbb6e65a00027 (patch)
tree711ec84106af94b7c3103763723fa806b918e218 /hcid/dbus-adapter.c
parent57290a1e2c13f79d353a21f7c67388ee8c142897 (diff)
Add first version of GetRemoteServiceIdentifiers
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 0f6d680a..b32569f6 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -1265,6 +1265,13 @@ static DBusHandlerResult adapter_get_remote_svc_handles(DBusConnection *conn,
return get_remote_svc_handles(conn, msg, data);
}
+static DBusHandlerResult adapter_get_remote_svc_identifiers(DBusConnection *conn,
+ DBusMessage *msg,
+ void *data)
+{
+ return get_remote_svc_identifiers(conn, msg, data);
+}
+
static DBusHandlerResult adapter_finish_sdp_transact(DBusConnection *conn,
DBusMessage *msg,
void *data)
@@ -3138,6 +3145,8 @@ static DBusMethodVTable adapter_methods[] = {
"su", "s" },
{ "GetRemoteServiceHandles", adapter_get_remote_svc_handles,
"ss", "au" },
+ { "GetRemoteServiceIdentifiers", adapter_get_remote_svc_identifiers,
+ "s", "as" },
{ "FinishRemoteServiceTransaction", adapter_finish_sdp_transact,
"s", "" },