chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initctl: minor updates
[elogind.git]
/
automount.h
diff --git
a/automount.h
b/automount.h
index a8c81e17f2b84a7bdd971c348bee39bf69943937..5b623691d4c9a5c09e9d4ba6d708e9a3fdab392a 100644
(file)
--- a/
automount.h
+++ b/
automount.h
@@
-38,7
+38,7
@@
typedef enum AutomountState {
struct Automount {
Meta meta;
struct Automount {
Meta meta;
- AutomountState state;
+ AutomountState state
, deserialized_state
;
char *where;
char *where;
@@
-57,4
+57,7
@@
extern const UnitVTable automount_vtable;
int automount_send_ready(Automount *a, int status);
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
#endif