summaryrefslogtreecommitdiff
path: root/target.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-18 03:08:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-18 03:08:16 +0200
commit4139c1b2729f88991159b9affa2ebf3e4eb904a0 (patch)
tree230a49b730ba77bec3829595313bdb4b7bcd53f4 /target.c
parent41447faf1fc57463becabce399d983df762a104c (diff)
dbus: greatly extend dbus coverage
Diffstat (limited to 'target.c')
-rw-r--r--target.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/target.c b/target.c
index 176ab68c42..61cbebf654 100644
--- a/target.c
+++ b/target.c
@@ -26,6 +26,7 @@
#include "target.h"
#include "load-fragment.h"
#include "log.h"
+#include "dbus-target.h"
static const UnitActiveState state_translation_table[_TARGET_STATE_MAX] = {
[TARGET_DEAD] = UNIT_INACTIVE,
@@ -133,5 +134,7 @@ const UnitVTable target_vtable = {
.stop = target_stop,
.active_state = target_active_state,
- .sub_state_to_string = target_sub_state_to_string
+ .sub_state_to_string = target_sub_state_to_string,
+
+ .bus_message_handler = bus_target_message_handler
};