diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-23 01:52:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-23 01:52:57 +0100 |
commit | 5cb5a6ffc33667c93e9bc3572534dcaa684046e3 (patch) | |
tree | 51e8b6260d56027c4d610ff6db5882737101a809 /mount.h | |
parent | cd2dbd7df9f1b8c46386b2898523aec3dd4578fd (diff) |
first attempt in implementinging execution logic
Diffstat (limited to 'mount.h')
-rw-r--r-- | mount.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mount.h b/mount.h new file mode 100644 index 0000000000..b437b2e7f5 --- /dev/null +++ b/mount.h @@ -0,0 +1,28 @@ +/*-*- Mode: C; c-basic-offset: 8 -*-*/ + +#ifndef foomounthfoo +#define foomounthfoo + +typedef struct Mount Mount; + +#include "name.h" + +typedef enum MountState { + MOUNT_DEAD, + MOUNT_MOUNTING, + MOUNT_MOUNTED, + MOUNT_UNMOUNTING, + MOUNT_MAINTAINANCE, + _MOUNT_STATE_MAX +} MountState; + +struct Mount { + Meta meta; + + MountState state; + char *path; +}; + +extern const NameVTable mount_vtable; + +#endif |