chiark / gitweb /
unit: Move UnitType definitions from core/unit.c to shared/unit-name.c
[elogind.git] / src / core / unit.h
index cfb38d0aae751e79eae95e685a8bfbd68c18fc68..049b1dbd1e79fb0d331f07fbd9d7e5675609dfcb 100644 (file)
@@ -41,21 +41,7 @@ typedef struct UnitStatusMessageFormats UnitStatusMessageFormats;
 #include "execute.h"
 #include "condition.h"
 #include "install.h"
 #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,
 
 enum UnitLoadState {
         UNIT_STUB,