summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-02 23:30:19 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-02 23:32:34 +0100
commite821075a23fdfa3ca7738fc30bb2d4c430fe10c0 (patch)
tree37f970d8139c7796dda5ef0a295ee121ceabf349 /src/core/unit.c
parentf9638db8de2f915a5c5f6e4b7292494168eb4141 (diff)
bus: add .busname unit type to implement kdbus-style bus activation
Diffstat (limited to 'src/core/unit.c')
-rw-r--r--src/core/unit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 31d5f113f7..50db86c424 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -53,14 +53,15 @@
const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX] = {
[UNIT_SERVICE] = &service_vtable,
- [UNIT_TIMER] = &timer_vtable,
[UNIT_SOCKET] = &socket_vtable,
+ [UNIT_BUSNAME] = &busname_vtable,
[UNIT_TARGET] = &target_vtable,
+ [UNIT_SNAPSHOT] = &snapshot_vtable,
[UNIT_DEVICE] = &device_vtable,
[UNIT_MOUNT] = &mount_vtable,
[UNIT_AUTOMOUNT] = &automount_vtable,
- [UNIT_SNAPSHOT] = &snapshot_vtable,
[UNIT_SWAP] = &swap_vtable,
+ [UNIT_TIMER] = &timer_vtable,
[UNIT_PATH] = &path_vtable,
[UNIT_SLICE] = &slice_vtable,
[UNIT_SCOPE] = &scope_vtable