X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=automount.h;h=014482cc5a8be261a2b8c6a042d04c21cf447765;hb=136337ff74f05be3d42a769d9f0cb99716c5c40f;hp=daa3686fcba33e6c5fa08e923a3e0090dbd89365;hpb=e537352b9bfffe6f6286483bff2c7601c78407e3;p=elogind.git diff --git a/automount.h b/automount.h index daa3686fc..014482cc5 100644 --- a/automount.h +++ b/automount.h @@ -38,11 +38,28 @@ typedef enum AutomountState { struct Automount { Meta meta; - AutomountState state; + AutomountState state, deserialized_state; + + char *where; Mount *mount; + + int pipe_fd; + Watch pipe_watch; + dev_t dev_id; + + Set *tokens; + + bool failure:1; }; extern const UnitVTable automount_vtable; +int automount_send_ready(Automount *a, int status); + +int automount_add_one_mount_link(Automount *a, Mount *m); + +const char* automount_state_to_string(AutomountState i); +AutomountState automount_state_from_string(const char *s); + #endif