diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-28 06:45:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-28 06:45:55 +0100 |
commit | 7824bbebe329eea611b809e2fff3e6df4073a465 (patch) | |
tree | 13a78d89f0086af7113dfbc279778f944115bb8e /unit.h | |
parent | fb624d04e56018defe297eff1d88888b192caeaa (diff) |
add new manager initializer callbacks to per-unit type vtable
Diffstat (limited to 'unit.h')
-rw-r--r-- | unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -160,6 +160,9 @@ struct UnitVTable { void (*fd_event)(Unit *u, int fd, uint32_t events, Watch *w); void (*sigchld_event)(Unit *u, pid_t pid, int code, int status); void (*timer_event)(Unit *u, uint64_t n_elapsed, Watch *w); + + int (*enumerate)(Manager *m); + void (*shutdown)(Manager *m); }; extern const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX]; |