chiark / gitweb /
gcc: make gcc shut up
[elogind.git] / src / automount.h
index 44e6100ff691c8ec2a8313f70f2608b5447c5c9f..1a6cc98fd1ee857406cc68f8eccc133fe8c975af 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,7 +30,7 @@ typedef enum AutomountState {
         AUTOMOUNT_DEAD,
         AUTOMOUNT_WAITING,
         AUTOMOUNT_RUNNING,
-        AUTOMOUNT_MAINTENANCE,
+        AUTOMOUNT_FAILED,
         _AUTOMOUNT_STATE_MAX,
         _AUTOMOUNT_STATE_INVALID = -1
 } AutomountState;
@@ -45,9 +45,11 @@ struct Automount {
         Mount *mount;
 
         int pipe_fd;
+        mode_t directory_mode;
         Watch pipe_watch;
         dev_t dev_id;
 
+
         Set *tokens;
 
         bool failure:1;