summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/manager.h b/manager.h
index 303201b74d..0c923fcc79 100644
--- a/manager.h
+++ b/manager.h
@@ -30,6 +30,13 @@ struct Watch {
#include "list.h"
#include "set.h"
+typedef enum SpecialUnit {
+ SPECIAL_SYSLOG_SERVICE,
+ SPECIAL_DBUS_SERVICE,
+ SPECIAL_LOGGER_SOCKET,
+ _SPECIAL_UNIT_MAX
+} SpecialUnit;
+
struct Manager {
uint32_t current_job_id;
@@ -59,6 +66,8 @@ struct Manager {
int epoll_fd;
Watch signal_watch;
+
+ Unit *special_units[_SPECIAL_UNIT_MAX]; /* some special units */
};
Manager* manager_new(void);