summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-06-16 13:55:48 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-06-16 13:55:48 +0000
commit9fd6757e19e57f085b2ebf72b1078edbd4b7285e (patch)
tree4673930bae048eedbb75f36d6e5da715b622793a /hcid/main.c
parent5542ce34cfb07a75eebd5659fb66d1fe2394faa6 (diff)
Add skeleton for local D-Bus server
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 850f1086..42cfab89 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -50,6 +50,7 @@
#include "hcid.h"
#include "sdpd.h"
+#include "server.h"
#include "dbus-common.h"
#include "dbus-service.h"
#include "dbus-database.h"
@@ -870,6 +871,8 @@ int main(int argc, char *argv[])
notify_init();
+ init_local_server();
+
init_services(CONFIGDIR);
/* Start event processor */
@@ -884,6 +887,8 @@ int main(int argc, char *argv[])
notify_close();
+ shutdown_local_server();
+
cleanup_sdp_session();
g_main_loop_unref(event_loop);