eudev/mount.h

29 lines
449 B
C
Raw Normal View History

/*-*- Mode: C; c-basic-offset: 8 -*-*/
#ifndef foomounthfoo
#define foomounthfoo
typedef struct Mount Mount;
2010-01-27 03:39:06 +07: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;
char *path;
};
2010-01-27 03:39:06 +07:00
extern const UnitVTable mount_vtable;
#endif