X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=automount.h;h=014482cc5a8be261a2b8c6a042d04c21cf447765;hb=d1ab0ca07372649dad70a0348d75e394f254e1b6;hp=a8c81e17f2b84a7bdd971c348bee39bf69943937;hpb=8d567588cad053f79abe603ab113e1b85a92f1da;p=elogind.git diff --git a/automount.h b/automount.h index a8c81e17f..014482cc5 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,9 @@ 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