diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-29 06:45:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-29 06:45:59 +0100 |
commit | f94ea366d38fed424200b748cb042ca44f8c8d50 (patch) | |
tree | 6fdd0032d6a667c967e6c82530e5dd83bdd2e18d /manager.h | |
parent | ef734fd6c2ec4e5602bbfe2a0d26dcf39c14d2bf (diff) |
monitor udev for device changes
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |