X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fautomount.h;h=c6326ed3c23d99cd197d6bb2ff722c669ad74e70;hb=6ef25fb65ee0a62972ed7cbc01b6a11feb5fcb16;hp=014482cc5a8be261a2b8c6a042d04c21cf447765;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221;p=elogind.git diff --git a/src/automount.h b/src/automount.h index 014482cc5..c6326ed3c 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; @@ -42,9 +42,10 @@ struct Automount { char *where; - Mount *mount; + UnitRef mount; int pipe_fd; + mode_t directory_mode; Watch pipe_watch; dev_t dev_id;