1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
systemd/mount.h

33 lines
531 B
C
Raw Normal View History

/*-*- Mode: C; c-basic-offset: 8 -*-*/
#ifndef foomounthfoo
#define foomounthfoo
typedef struct Mount Mount;
2010-01-26 23:39:06 +03:00
#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;
2010-01-29 04:07:41 +03:00
char *what, *where;
2010-01-29 05:18:09 +03:00
bool from_etc_fstab:1;
bool from_proc_self_mountinfo:1;
};
2010-01-26 23:39:06 +03:00
extern const UnitVTable mount_vtable;
#endif