chiark / gitweb /
implement coldpluggin
[elogind.git] / mount.h
diff --git a/mount.h b/mount.h
index b437b2e7f5ead67880c052137fa542b5310ea543..9a8079f48d102bed52183341a85ad02a70f2e86f 100644 (file)
--- 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,13 @@ struct Mount {
         Meta meta;
 
         MountState state;
-        char *path;
+
+        char *what, *where;
+
+        bool from_etc_fstab:1;
+        bool from_proc_self_mountinfo:1;
 };
 
-extern const NameVTable mount_vtable;
+extern const UnitVTable mount_vtable;
 
 #endif