X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Funit-name.h;h=21cf9e09041d08a27877f62e527495d7baaef035;hp=c23ccc803d66a5a98355a532649e994297651fa4;hb=94c5f7fa9e34517edad75cd63d71dd459ec4f133;hpb=d2338db3145922b1dfcb3b458e5bce2568a9347a 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_;