summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-manager.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-16 08:56:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-16 08:56:30 +0000
commit3562f542debf739d121449fad41e0a9b2e5f61a0 (patch)
tree59e225b0af6c3018e8448f5bdbb4140ad3c8bad6 /hcid/dbus-manager.c
parent1f51c533f3036261159f482a4564fcbb664f37c8 (diff)
Add skeleton for FindService method
Diffstat (limited to 'hcid/dbus-manager.c')
-rw-r--r--hcid/dbus-manager.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c
index f01fbfaf..83363c73 100644
--- a/hcid/dbus-manager.c
+++ b/hcid/dbus-manager.c
@@ -195,6 +195,12 @@ static DBusHandlerResult list_adapters(DBusConnection *conn,
return send_message_and_unref(conn, reply);
}
+static DBusHandlerResult find_service(DBusConnection *conn,
+ DBusMessage *msg, void *data)
+{
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+}
+
static DBusHandlerResult list_services(DBusConnection *conn,
DBusMessage *msg, void *data)
{
@@ -480,6 +486,7 @@ static struct service_data methods[] = {
{ "DefaultAdapter", default_adapter },
{ "FindAdapter", find_adapter },
{ "ListAdapters", list_adapters },
+ { "FindService", find_service },
{ "ListServices", list_services },
{ "AddServiceRecord", add_service_record },
{ "AddServiceRecordFromXML", add_service_record_xml },