X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=mount.h;h=2f90226051ceff7627fe03676a22617679cbe4ef;hb=cc13a98b680087b24c1a319d10db98cd755a94d2;hp=b437b2e7f5ead67880c052137fa542b5310ea543;hpb=5cb5a6ffc33667c93e9bc3572534dcaa684046e3;p=elogind.git diff --git a/mount.h b/mount.h index b437b2e7f..2f9022605 100644 --- a/mount.h +++ b/mount.h @@ -5,7 +5,7 @@ typedef struct Mount Mount; -#include "name.h" +#include "unit.h" typedef enum MountState { MOUNT_DEAD, @@ -20,9 +20,20 @@ struct Mount { Meta meta; MountState state; - char *path; + + char *what, *where; + + bool from_etc_fstab:1; + bool from_proc_self_mountinfo:1; + + /* Used while looking for mount points that vanished or got + * added from/to /proc/self/mountinfo */ + bool still_exists:1; + bool just_created:1; }; -extern const NameVTable mount_vtable; +extern const UnitVTable mount_vtable; + +void mount_fd_event(Manager *m, int events); #endif