summaryrefslogtreecommitdiffstats
path: root/input/manager.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-04 21:36:45 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-04 21:36:45 +0000
commit1826edb5d4e3998ba026d2d0436bbbae9047ed3a (patch)
tree82ef88b91371176d49ca4ccb6bf5744f54582837 /input/manager.c
parente6f25afcdd988e0d40add0363592d78c3685dd00 (diff)
input: Added authorization support for incomming connections
Diffstat (limited to 'input/manager.c')
-rw-r--r--input/manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/input/manager.c b/input/manager.c
index 7a8ce746..567ea6ee 100644
--- a/input/manager.c
+++ b/input/manager.c
@@ -43,6 +43,7 @@
#include "textfile.h"
#include "device.h"
+#include "server.h"
#include "error.h"
#include "manager.h"
#include "storage.h"
@@ -872,6 +873,8 @@ int input_init(DBusConnection *conn)
/* Register well known HID devices */
register_stored_inputs(mgr);
+ server_start(connection);
+
return 0;
fail:
@@ -884,6 +887,8 @@ void input_exit(void)
{
dbus_connection_unregister_object_path(connection, INPUT_PATH);
+ server_stop();
+
dbus_connection_unref(connection);
connection = NULL;