summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-28 02:01:15 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-28 02:01:15 +0100
commitce578209aa4e061aa38d3a4727612bb388307bf9 (patch)
tree5f64bf828e7b966a581edfb3a2d22cf5bfb68334 /manager.h
parentba3895027eaba2814d980f4c02420ca553e8c39c (diff)
add infrastructure for special units
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);