X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-busname.c;h=28f192403b09694fe0da5db043717e4e8ae6a769;hb=652212b0c2b60b9ef9b2e24eae82401f880fa21a;hp=9f94bf1d574790785068b859bd435bb1b9066300;hpb=556089dc57b10a12a03edd3d3e90ca17398ad206;p=elogind.git diff --git a/src/core/dbus-busname.c b/src/core/dbus-busname.c index 9f94bf1d5..28f192403 100644 --- a/src/core/dbus-busname.c +++ b/src/core/dbus-busname.c @@ -30,11 +30,10 @@ static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_result, busname_result, BusName const sd_bus_vtable bus_busname_vtable[] = { SD_BUS_VTABLE_START(0), SD_BUS_PROPERTY("Name", "s", NULL, offsetof(BusName, name), SD_BUS_VTABLE_PROPERTY_CONST), + SD_BUS_PROPERTY("TimeoutUSec", "t", bus_property_get_usec, offsetof(BusName, timeout_usec), SD_BUS_VTABLE_PROPERTY_CONST), + SD_BUS_PROPERTY("ControlPID", "u", bus_property_get_pid, offsetof(BusName, control_pid), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("Result", "s", property_get_result, offsetof(BusName, result), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_PROPERTY("Activating", "b", bus_property_get_bool, offsetof(BusName, activating), SD_BUS_VTABLE_PROPERTY_CONST), + SD_BUS_PROPERTY("AcceptFileDescriptors", "b", bus_property_get_bool, offsetof(BusName, accept_fd), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_VTABLE_END }; - -const char* const bus_busname_changing_properties[] = { - "Result", - NULL -};