diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-10-27 13:38:50 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-10-27 13:38:50 +0000 |
commit | 065bfb79abbd17ec14bef3daa5276835a9bb213d (patch) | |
tree | 5c078c13f3c55223188263dcf7fac0f305a4025b | |
parent | eb15d60725819257af137c53b8a86661bfc64830 (diff) |
Print out messages about starting and stopping the service
-rw-r--r-- | hcid/service-agent.c | 4 |
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; } |