summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h3
1 files changed, 3 insertions, 0 deletions
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];