mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
30 lines
458 B
C
30 lines
458 B
C
/*-*- Mode: C; c-basic-offset: 8 -*-*/
|
|
|
|
#ifndef foomounthfoo
|
|
#define foomounthfoo
|
|
|
|
typedef struct Mount Mount;
|
|
|
|
#include "unit.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 *what, *where;
|
|
};
|
|
|
|
extern const UnitVTable mount_vtable;
|
|
|
|
#endif
|