chiark / gitweb /
journal: systemd v38 fails to build on big-endians
[elogind.git] / src / automount.h
index 44e6100ff691c8ec2a8313f70f2608b5447c5c9f..8334c9752d4c128f36d0ed2f79b2bf92ca1c5fab 100644 (file)
@@ -1,4 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
 #ifndef fooautomounthfoo
 #define fooautomounthfoo
@@ -30,21 +30,22 @@ typedef enum AutomountState {
         AUTOMOUNT_DEAD,
         AUTOMOUNT_WAITING,
         AUTOMOUNT_RUNNING,
-        AUTOMOUNT_MAINTENANCE,
+        AUTOMOUNT_FAILED,
         _AUTOMOUNT_STATE_MAX,
         _AUTOMOUNT_STATE_INVALID = -1
 } AutomountState;
 
 struct Automount {
-        Meta meta;
+        Unit meta;
 
         AutomountState state, deserialized_state;
 
         char *where;
 
-        Mount *mount;
+        UnitRef mount;
 
         int pipe_fd;
+        mode_t directory_mode;
         Watch pipe_watch;
         dev_t dev_id;