summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 13:41:21 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 13:41:21 +0000
commit2810e2a6b3d36bf25e8b15fcdb078d2cc252daba (patch)
tree6b979fd0be543f3c79d322b5d8dd94c8914e6174 /daemon
parent1e3561c600a08b5a5dc45b405fe1ecc30df4f270 (diff)
Remove inotify support
Diffstat (limited to 'daemon')
-rw-r--r--daemon/adapter.c1
-rw-r--r--daemon/main.c5
-rw-r--r--daemon/service.c22
3 files changed, 0 insertions, 28 deletions
diff --git a/daemon/adapter.c b/daemon/adapter.c
index 557e20e2..d8e4c9d4 100644
--- a/daemon/adapter.c
+++ b/daemon/adapter.c
@@ -29,7 +29,6 @@
#include "dbus-helper.h"
#include "logging.h"
-#include "notify.h"
#include "system.h"
#include "adapter.h"
diff --git a/daemon/main.c b/daemon/main.c
index eedd4dd8..94eba19a 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -40,7 +40,6 @@
#include "dbus-helper.h"
#include "dbus.h"
-#include "notify.h"
#include "logging.h"
#include "sdpd.h"
@@ -205,8 +204,6 @@ int main(int argc, char *argv[])
main_loop = g_main_loop_new(NULL, FALSE);
- notify_init();
-
if (setup_dbus() < 0) {
g_main_loop_unref(main_loop);
exit(1);
@@ -224,8 +221,6 @@ int main(int argc, char *argv[])
cleanup_dbus();
- notify_close();
-
g_main_loop_unref(main_loop);
info("Exit");
diff --git a/daemon/service.c b/daemon/service.c
index 3cb5071a..27ed2417 100644
--- a/daemon/service.c
+++ b/daemon/service.c
@@ -35,7 +35,6 @@
#include "dbus-helper.h"
#include "logging.h"
-#include "notify.h"
#include "system.h"
#include "service.h"
@@ -271,31 +270,12 @@ static DBusMethodVTable service_table[] = {
{ }
};
-static void config_notify(int action, const char *name, void *data)
-{
- switch (action) {
- case NOTIFY_CREATE:
- debug("File %s/%s created", CONFIGDIR, name);
- break;
-
- case NOTIFY_DELETE:
- debug("File %s/%s deleted", CONFIGDIR, name);
- break;
-
- case NOTIFY_MODIFY:
- debug("File %s/%s modified", CONFIGDIR, name);
- break;
- }
-}
-
int service_init(DBusConnection *conn)
{
connection = dbus_connection_ref(conn);
info("Starting service framework");
- notify_add(CONFIGDIR, config_notify, NULL);
-
if (dbus_connection_create_object_path(connection,
"/org/bluez/service", NULL, NULL) == FALSE) {
error("Service path registration failed");
@@ -318,8 +298,6 @@ void service_exit(void)
{
info("Stopping service framework");
- notify_remove(CONFIGDIR);
-
dbus_connection_unregister_interface(connection,
"/org/bluez/service", SERVICE_INTERFACE);