summaryrefslogtreecommitdiffstats
path: root/input/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-21 23:23:19 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-21 23:23:19 +0000
commit72217a2993a6ef3d252e0f3fdafa78bb1726b705 (patch)
tree76b93c0dfa0a28acbfcc9f95bdf872c0d60c742f /input/main.c
parente67f1e9e5f1fd1f1c5ded32cd7f3bf2242d20f0d (diff)
Add skeleton for server handling
Diffstat (limited to 'input/main.c')
-rw-r--r--input/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/input/main.c b/input/main.c
index bc7eb8e7..82e3b1b6 100644
--- a/input/main.c
+++ b/input/main.c
@@ -2,7 +2,7 @@
*
* BlueZ - Bluetooth protocol stack for Linux
*
- * Copyright (C) 2005-2006 Marcel Holtmann <marcel@holtmann.org>
+ * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -75,8 +75,12 @@ int main(int argc, char *argv[])
exit(1);
}
+ server_start();
+
g_main_loop_run(main_loop);
+ server_stop();
+
input_dbus_exit();
g_main_loop_unref(main_loop);