X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=target.c;h=61cbebf654bc900b8340b6e24db4ca4f67b067e8;hp=176ab68c42f4d5f7ce2a601c3dffcd867f3d0028;hb=4139c1b2729f88991159b9affa2ebf3e4eb904a0;hpb=41447faf1fc57463becabce399d983df762a104c diff --git a/target.c b/target.c index 176ab68c4..61cbebf65 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 };