diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-21 02:59:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-21 02:59:12 +0100 |
commit | e094e853a047e10f0d2989eed76b6aa430e3ea1a (patch) | |
tree | 29acb378f3f659399c474ba516ca02ae6051a59d /name.h | |
parent | 1ffba6fe82d65f2a87b53a21c7927bca8176038c (diff) |
make sure impact of transactions is minimized
Diffstat (limited to 'name.h')
-rw-r--r-- | name.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -124,8 +124,7 @@ typedef enum TimerState { TIMER_RUNNING, TIMER_STOP_PRE, TIMER_STOP, - TIMER_STOP_POST, - TIMER_MAINTAINANCE + TIMER_STOP_POST } TimerState; struct Timer { @@ -193,7 +192,12 @@ struct Device { typedef enum MountState { MOUNT_DEAD, MOUNT_BEFORE, - MOUNT_MOUNTED + MOUNT_MOUNTING, + MOUNT_MOUNTED, + MOUNT_UNMOUNTING, + MOUNT_SIGTERM, /* if the mount command hangs */ + MOUNT_SIGKILL, + MOUNT_MAINTAINANCE } MountState; struct Mount { @@ -272,7 +276,9 @@ DEFINE_CAST(SNAPSHOT, Snapshot, snapshot); /* For casting the various name types into a name */ #define NAME(o) ((Name*) (o)) -bool name_is_ready(Name *name); +bool name_is_running(Name *name); +bool name_is_dead(Name *name); + NameType name_type_from_string(const char *n); bool name_is_valid(const char *n); |