X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdbus-target.c;h=1eb3c249f87d6bea15e10b0c3a94ca3c3a2aad31;hp=fb84430b21445a6f996ecbb268cd7392bffedf99;hb=9a60da2834074d970ca063c210fe9d2f05c70532;hpb=5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1 diff --git a/src/dbus-target.c b/src/dbus-target.c index fb84430b2..1eb3c249f 100644 --- a/src/dbus-target.c +++ b/src/dbus-target.c @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. @@ -19,6 +19,8 @@ along with systemd; If not, see . ***/ +#include + #include "dbus-unit.h" #include "dbus-target.h" @@ -32,10 +34,11 @@ BUS_UNIT_INTERFACE \ BUS_TARGET_INTERFACE \ BUS_PROPERTIES_INTERFACE \ + BUS_PEER_INTERFACE \ BUS_INTROSPECTABLE_INTERFACE \ "\n" -const char bus_target_interface[] = BUS_TARGET_INTERFACE; +const char bus_target_interface[] _introspect_("Target") = BUS_TARGET_INTERFACE; DBusHandlerResult bus_target_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = {