diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-08 13:41:21 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-08 13:41:21 +0000 |
commit | 2810e2a6b3d36bf25e8b15fcdb078d2cc252daba (patch) | |
tree | 6b979fd0be543f3c79d322b5d8dd94c8914e6174 /daemon/service.c | |
parent | 1e3561c600a08b5a5dc45b405fe1ecc30df4f270 (diff) |
Remove inotify support
Diffstat (limited to 'daemon/service.c')
-rw-r--r-- | daemon/service.c | 22 |
1 files changed, 0 insertions, 22 deletions
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); |