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 21:39:06 +01: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 02:07:41 +01:00
char *what, *where;
2010-01-29 03:18:09 +01:00
bool from_etc_fstab:1;
bool from_proc_self_mountinfo:1;
};
2010-01-26 21:39:06 +01:00
extern const UnitVTable mount_vtable;
#endif