diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-06 14:55:07 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | eaca07ccfdf5d7dabc50afc7e539c2413dd69d3e (patch) | |
tree | f2876260f754b2c3f86814980568e6142cffafcd /src/basic/unit-name.h | |
parent | b96ed50e3493103d075ff2ce4c3fbad8f26b2e22 (diff) |
Prep v228: Add remaining updates from upstream (2/3)
Apply remaining fixes and the performed move of utility functions
into their own foo-util.[hc] files on libbasic.
Diffstat (limited to 'src/basic/unit-name.h')
-rw-r--r-- | src/basic/unit-name.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/basic/unit-name.h b/src/basic/unit-name.h index c23ccc803..21cf9e090 100644 --- a/src/basic/unit-name.h +++ b/src/basic/unit-name.h @@ -32,7 +32,6 @@ typedef enum UnitType { UNIT_SOCKET, UNIT_BUSNAME, UNIT_TARGET, - UNIT_SNAPSHOT, UNIT_DEVICE, UNIT_MOUNT, UNIT_AUTOMOUNT, @@ -167,13 +166,6 @@ typedef enum SliceState { _SLICE_STATE_INVALID = -1 } SliceState; -typedef enum SnapshotState { - SNAPSHOT_DEAD, - SNAPSHOT_ACTIVE, - _SNAPSHOT_STATE_MAX, - _SNAPSHOT_STATE_INVALID = -1 -} SnapshotState; - typedef enum SocketState { SOCKET_DEAD, SOCKET_START_PRE, @@ -228,18 +220,14 @@ typedef enum TimerState { typedef enum UnitDependency { /* Positive dependencies */ UNIT_REQUIRES, - UNIT_REQUIRES_OVERRIDABLE, UNIT_REQUISITE, - UNIT_REQUISITE_OVERRIDABLE, UNIT_WANTS, UNIT_BINDS_TO, UNIT_PART_OF, /* Inverse of the above */ UNIT_REQUIRED_BY, /* inverse of 'requires' is 'required_by' */ - UNIT_REQUIRED_BY_OVERRIDABLE, /* inverse of 'requires_overridable' is 'required_by_overridable' */ UNIT_REQUISITE_OF, /* inverse of 'requisite' is 'requisite_of' */ - UNIT_REQUISITE_OF_OVERRIDABLE,/* inverse of 'requisite_overridable' is 'requisite_of_overridable' */ UNIT_WANTED_BY, /* inverse of 'wants' */ UNIT_BOUND_BY, /* inverse of 'binds_to' */ UNIT_CONSISTS_OF, /* inverse of 'part_of' */ @@ -375,9 +363,6 @@ UnitType unit_type_from_string(const char *s) _pure_; // UNNEEDED const char* slice_state_to_string(SliceState i) _const_; // UNNEEDED SliceState slice_state_from_string(const char *s) _pure_; -// UNNEEDED const char* snapshot_state_to_string(SnapshotState i) _const_; -// UNNEEDED SnapshotState snapshot_state_from_string(const char *s) _pure_; - // UNNEEDED const char* socket_state_to_string(SocketState i) _const_; // UNNEEDED SocketState socket_state_from_string(const char *s) _pure_; |