summaryrefslogtreecommitdiff
path: root/device.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 /device.c
parent41447faf1fc57463becabce399d983df762a104c (diff)
dbus: greatly extend dbus coverage
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/device.c b/device.c
index a9b003c664..ddd05b35a0 100644
--- a/device.c
+++ b/device.c
@@ -28,6 +28,7 @@
#include "strv.h"
#include "log.h"
#include "unit-name.h"
+#include "dbus-device.h"
static const UnitActiveState state_translation_table[_DEVICE_STATE_MAX] = {
[DEVICE_DEAD] = UNIT_INACTIVE,
@@ -463,6 +464,8 @@ const UnitVTable device_vtable = {
.active_state = device_active_state,
.sub_state_to_string = device_sub_state_to_string,
+ .bus_message_handler = bus_device_message_handler,
+
.enumerate = device_enumerate,
.shutdown = device_shutdown
};