summaryrefslogtreecommitdiffstats
path: root/hcid/service-agent.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-10-27 13:38:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-10-27 13:38:50 +0000
commit065bfb79abbd17ec14bef3daa5276835a9bb213d (patch)
tree5c078c13f3c55223188263dcf7fac0f305a4025b /hcid/service-agent.c
parenteb15d60725819257af137c53b8a86661bfc64830 (diff)
Print out messages about starting and stopping the service
Diffstat (limited to 'hcid/service-agent.c')
-rw-r--r--hcid/service-agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hcid/service-agent.c b/hcid/service-agent.c
index 334eae9e..fc6383bb 100644
--- a/hcid/service-agent.c
+++ b/hcid/service-agent.c
@@ -116,6 +116,8 @@ static DBusHandlerResult start_message(DBusConnection *conn,
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
+ printf("Starting example service\n");
+
return DBUS_HANDLER_RESULT_HANDLED;
}
@@ -127,6 +129,8 @@ static DBusHandlerResult stop_message(DBusConnection *conn,
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
+ printf("Stopping example service\n");
+
return DBUS_HANDLER_RESULT_HANDLED;
}