X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Funit.h;h=049b1dbd1e79fb0d331f07fbd9d7e5675609dfcb;hp=cfb38d0aae751e79eae95e685a8bfbd68c18fc68;hb=0a9f8ed00c8f323d5bf24a9a11149a9342c0e1aa;hpb=c66d36e5b5ae81f3c5297d6dacadc13c88c530f6 diff --git a/src/core/unit.h b/src/core/unit.h index cfb38d0aa..049b1dbd1 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -41,21 +41,7 @@ typedef struct UnitStatusMessageFormats UnitStatusMessageFormats; #include "execute.h" #include "condition.h" #include "install.h" - -enum UnitType { - UNIT_SERVICE = 0, - UNIT_SOCKET, - UNIT_TARGET, - UNIT_DEVICE, - UNIT_MOUNT, - UNIT_AUTOMOUNT, - UNIT_SNAPSHOT, - UNIT_TIMER, - UNIT_SWAP, - UNIT_PATH, - _UNIT_TYPE_MAX, - _UNIT_TYPE_INVALID = -1 -}; +#include "unit-name.h" enum UnitLoadState { UNIT_STUB,