X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=automount.h;h=5b623691d4c9a5c09e9d4ba6d708e9a3fdab392a;hp=daa3686fcba33e6c5fa08e923a3e0090dbd89365;hb=cd1a19e86dacc60930c2bedf02080026706c04b6;hpb=e537352b9bfffe6f6286483bff2c7601c78407e3 diff --git a/automount.h b/automount.h index daa3686fc..5b623691d 100644 --- a/automount.h +++ b/automount.h @@ -38,11 +38,26 @@ 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); + +const char* automount_state_to_string(AutomountState i); +AutomountState automount_state_from_string(const char *s); + #endif