summaryrefslogtreecommitdiff
path: root/automount.h
diff options
context:
space:
mode:
Diffstat (limited to 'automount.h')
-rw-r--r--automount.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/automount.h b/automount.h
index a8c81e17f2..5b623691d4 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