summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-03-21 19:30:54 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-03-21 19:30:54 +0000
commit63ce134711eab575a35d2b4a5cbc62f1446d6a73 (patch)
tree23b65900eee7ed60b502998d7241b493b8c7f18d /hcid/dbus-service.c
parentc95cdbbf157765752d7d9f8700ee721587d56f70 (diff)
Added skeleton for dict based methods: Adapter.GetInfo, Adapter.GetRemoteInfo and Service.GetInfo
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r--hcid/dbus-service.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 4a4da621..1b3e8012 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -101,6 +101,12 @@ static void service_exit(const char *name, struct service *service)
service->bus_name = NULL;
}
+static DBusHandlerResult get_info(DBusConnection *conn,
+ DBusMessage *msg, void *data)
+{
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+}
+
static DBusHandlerResult get_identifier(DBusConnection *conn,
DBusMessage *msg, void *data)
{
@@ -550,6 +556,7 @@ static DBusHandlerResult remove_trust(DBusConnection *conn,
}
static struct service_data services_methods[] = {
+ { "GetInfo", get_info },
{ "GetIdentifier", get_identifier },
{ "GetName", get_name },
{ "GetDescription", get_description },