chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dbus: greatly extend dbus coverage
[elogind.git]
/
target.c
diff --git
a/target.c
b/target.c
index 176ab68c42f4d5f7ce2a601c3dffcd867f3d0028..61cbebf654bc900b8340b6e24db4ca4f67b067e8 100644
(file)
--- a/
target.c
+++ b/
target.c
@@
-26,6
+26,7
@@
#include "target.h"
#include "load-fragment.h"
#include "log.h"
#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,
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,
.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
};
};