mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
core: expose missing busname properties on the bus
This commit is contained in:
parent
7bf2f43972
commit
6af00e06e4
@ -49,7 +49,9 @@ struct BusName {
|
||||
|
||||
char *name;
|
||||
int starter_fd;
|
||||
|
||||
bool activating;
|
||||
bool accept_fd;
|
||||
|
||||
UnitRef service;
|
||||
|
||||
@ -58,8 +60,6 @@ struct BusName {
|
||||
|
||||
sd_event_source *event_source;
|
||||
|
||||
bool accept_fd;
|
||||
|
||||
LIST_HEAD(BusNamePolicy, policy);
|
||||
};
|
||||
|
||||
|
@ -31,5 +31,7 @@ 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("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
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user