]> git.ipfire.org Git - thirdparty/systemd.git/blame - mount.h
make sure the log functions don't modify errno
[thirdparty/systemd.git] / mount.h
CommitLineData
5cb5a6ff
LP
1/*-*- Mode: C; c-basic-offset: 8 -*-*/
2
3#ifndef foomounthfoo
4#define foomounthfoo
5
6typedef struct Mount Mount;
7
87f0e418 8#include "unit.h"
5cb5a6ff
LP
9
10typedef enum MountState {
11 MOUNT_DEAD,
12 MOUNT_MOUNTING,
13 MOUNT_MOUNTED,
14 MOUNT_UNMOUNTING,
15 MOUNT_MAINTAINANCE,
16 _MOUNT_STATE_MAX
17} MountState;
18
19struct Mount {
20 Meta meta;
21
22 MountState state;
23 char *path;
24};
25
87f0e418 26extern const UnitVTable mount_vtable;
5cb5a6ff
LP
27
28#endif