diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-29 06:04:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-29 06:04:08 +0100 |
commit | ef734fd6c2ec4e5602bbfe2a0d26dcf39c14d2bf (patch) | |
tree | 4fb6422913f35cd3fb925aaaae0b56c78c30e075 /unit.h | |
parent | 38a4d4f089df02ff79b5f560f2b11631e0a6a4f9 (diff) |
watch mount status file
Diffstat (limited to 'unit.h')
-rw-r--r-- | unit.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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" |