]> git.ipfire.org Git - people/ms/systemd.git/blob - mount.h
5b5d5a38c046587fc45b5adcd3302ebbdb451cf0
[people/ms/systemd.git] / mount.h
1 /*-*- Mode: C; c-basic-offset: 8 -*-*/
2
3 #ifndef foomounthfoo
4 #define foomounthfoo
5
6 typedef struct Mount Mount;
7
8 #include "unit.h"
9
10 typedef enum MountState {
11 MOUNT_DEAD,
12 MOUNT_MOUNTING,
13 MOUNT_MOUNTED,
14 MOUNT_UNMOUNTING,
15 MOUNT_MAINTAINANCE,
16 _MOUNT_STATE_MAX
17 } MountState;
18
19 struct Mount {
20 Meta meta;
21
22 MountState state;
23
24 char *what, *where;
25 };
26
27 extern const UnitVTable mount_vtable;
28
29 #endif