summaryrefslogtreecommitdiff
path: root/src/dbus-unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-09 20:01:53 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-09 20:01:53 +0100
commit05feefe0fb049bb0f7c59584058ee0350462920c (patch)
tree7408358006c490ae4a48ae39c012591495ac99c9 /src/dbus-unit.h
parent34df5a34e1d0ac4bba453fb5f52f18a2f5f260f9 (diff)
dbus: properly generate UnknownInterface, UnknownProperty and PropertyReadOnly errors
Diffstat (limited to 'src/dbus-unit.h')
-rw-r--r--src/dbus-unit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus-unit.h b/src/dbus-unit.h
index b51fe4eb67..4e46fc4825 100644
--- a/src/dbus-unit.h
+++ b/src/dbus-unit.h
@@ -104,6 +104,10 @@
" <property name=\"JobTimeoutUSec\" type=\"t\" access=\"read\"/>\n" \
" </interface>\n"
+#define BUS_UNIT_INTERFACES_LIST \
+ BUS_GENERIC_INTERFACES_LIST \
+ "org.freedesktop.systemd1.Unit\0"
+
#define BUS_UNIT_PROPERTIES \
{ "org.freedesktop.systemd1.Unit", "Id", bus_property_append_string, "s", u->meta.id }, \
{ "org.freedesktop.systemd1.Unit", "Names", bus_unit_append_names, "as", u }, \