X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fautomount.h;h=1a6cc98fd1ee857406cc68f8eccc133fe8c975af;hp=44e6100ff691c8ec2a8313f70f2608b5447c5c9f;hb=0b1724894fb85aa1c07b2619e9269cfafd736956;hpb=18c78fb1af5415bb6f87d9c7cae1f9c60e14ae24 diff --git a/src/automount.h b/src/automount.h index 44e6100ff..1a6cc98fd 100644 --- a/src/automount.h +++ b/src/automount.h @@ -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;