chiark / gitweb /
dbus: properly generate UnknownInterface, UnknownProperty and PropertyReadOnly errors
[elogind.git] / src / dbus-unit.h
index b51fe4eb672f53f1189b1875985840171c5fb5c2..4e46fc4825a575ec790b07eb2dfc86068da9815f 100644 (file)
         "  <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                                 }, \