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=014482cc5a8be261a2b8c6a042d04c21cf447765;hb=0b1724894fb85aa1c07b2619e9269cfafd736956;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221 diff --git a/src/automount.h b/src/automount.h index 014482cc5..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_MAINTAINANCE, + 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;