summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-29 06:45:59 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-29 06:45:59 +0100
commitf94ea366d38fed424200b748cb042ca44f8c8d50 (patch)
tree6fdd0032d6a667c967e6c82530e5dd83bdd2e18d /manager.h
parentef734fd6c2ec4e5602bbfe2a0d26dcf39c14d2bf (diff)
monitor udev for device changes
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/manager.h b/manager.h
index 88b8509cfe..723e42dd1b 100644
--- a/manager.h
+++ b/manager.h
@@ -16,7 +16,8 @@ enum WatchType {
WATCH_SIGNAL,
WATCH_FD,
WATCH_TIMER,
- WATCH_MOUNT
+ WATCH_MOUNT,
+ WATCH_UDEV
};
struct Watch {
@@ -74,6 +75,8 @@ struct Manager {
/* Data specific to the device subsystem */
struct udev* udev;
+ struct udev_monitor* udev_monitor;
+ Watch udev_watch;
/* Data specific to the mount subsystem */
FILE *proc_self_mountinfo;