X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=automount.h;h=5b623691d4c9a5c09e9d4ba6d708e9a3fdab392a;hp=a8c81e17f2b84a7bdd971c348bee39bf69943937;hb=25e870b5f79f158ba6ac0b715248b0c3d3549325;hpb=8d567588cad053f79abe603ab113e1b85a92f1da diff --git a/automount.h b/automount.h index a8c81e17f..5b623691d 100644 --- a/automount.h +++ b/automount.h @@ -38,7 +38,7 @@ typedef enum AutomountState { struct Automount { Meta meta; - AutomountState state; + AutomountState state, deserialized_state; char *where; @@ -57,4 +57,7 @@ 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