summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-29 06:04:08 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-29 06:04:08 +0100
commitef734fd6c2ec4e5602bbfe2a0d26dcf39c14d2bf (patch)
tree4fb6422913f35cd3fb925aaaae0b56c78c30e075 /unit.h
parent38a4d4f089df02ff79b5f560f2b11631e0a6a4f9 (diff)
watch mount status file
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/unit.h b/unit.h
index 3e42ebe900..2433cc7d7c 100644
--- a/unit.h
+++ b/unit.h
@@ -14,14 +14,11 @@ typedef enum UnitLoadState UnitLoadState;
typedef enum UnitActiveState UnitActiveState;
typedef enum UnitDependency UnitDependency;
-#include "job.h"
-#include "manager.h"
#include "set.h"
#include "util.h"
#include "list.h"
#include "socket-util.h"
#include "execute.h"
-#include "util.h"
#define UNIT_NAME_MAX 128
#define DEFAULT_TIMEOUT_USEC (20*USEC_PER_SEC)
@@ -92,6 +89,9 @@ enum UnitDependency {
_UNIT_DEPENDENCY_INVALID = -1
};
+#include "manager.h"
+#include "job.h"
+
struct Meta {
Manager *manager;
UnitType type;
@@ -116,6 +116,9 @@ struct Meta {
/* Load queue */
LIST_FIELDS(Meta, load_queue);
+
+ /* Per type list */
+ LIST_FIELDS(Meta, units_per_type);
};
#include "service.h"