chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: merge /etc/xdg/systemd/session and /etc/systemd/session
[elogind.git]
/
target.h
diff --git
a/target.h
b/target.h
index 4b04635f942a263bd4fd69381992629b3d9d25fb..5397d50d7c1069486cdef29e5c088025fb52b09a 100644
(file)
--- a/
target.h
+++ b/
target.h
@@
-36,11
+36,14
@@
typedef enum TargetState {
struct Target {
Meta meta;
struct Target {
Meta meta;
- TargetState state;
+ TargetState state
, deserialized_state
;
};
extern const UnitVTable target_vtable;
int target_get_runlevel(Target *t);
};
extern const UnitVTable target_vtable;
int target_get_runlevel(Target *t);
+const char* target_state_to_string(TargetState i);
+TargetState target_state_from_string(const char *s);
+
#endif
#endif