diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-28 02:01:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-28 02:01:15 +0100 |
commit | ce578209aa4e061aa38d3a4727612bb388307bf9 (patch) | |
tree | 5f64bf828e7b966a581edfb3a2d22cf5bfb68334 /manager.h | |
parent | ba3895027eaba2814d980f4c02420ca553e8c39c (diff) |
add infrastructure for special units
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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); |