From 7824bbebe329eea611b809e2fff3e6df4073a465 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Jan 2010 06:45:44 +0100 Subject: add new manager initializer callbacks to per-unit type vtable --- unit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unit.h') diff --git a/unit.h b/unit.h index f9d96c7efc..7ab2ccdfbc 100644 --- a/unit.h +++ b/unit.h @@ -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]; -- cgit v1.2.3-54-g00ecf