X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fautomount.h;h=8334c9752d4c128f36d0ed2f79b2bf92ca1c5fab;hb=ce3fd7e72a1b101002617bd410031e65d290f56f;hp=014482cc5a8be261a2b8c6a042d04c21cf447765;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221;p=elogind.git diff --git a/src/automount.h b/src/automount.h index 014482cc5..8334c9752 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,21 +30,22 @@ typedef enum AutomountState { AUTOMOUNT_DEAD, AUTOMOUNT_WAITING, AUTOMOUNT_RUNNING, - AUTOMOUNT_MAINTAINANCE, + 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;