X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Funit.h;h=c686aeccefda52913f5dde6d3d09ec9fd406ea0c;hb=ebc2259da1d1579347b86fc2ebca9f96334b6f22;hp=8ceeececc351a596a13a3c5018f682b84a6e14ff;hpb=e821075a23fdfa3ca7738fc30bb2d4c430fe10c0;p=elogind.git diff --git a/src/core/unit.h b/src/core/unit.h index 8ceeececc..c686aecce 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -410,6 +410,8 @@ struct UnitVTable { /* Called whenever CLOCK_REALTIME made a jump */ void (*time_change)(Unit *u); + int (*get_timeout)(Unit *u, uint64_t *timeout); + /* This is called for each unit type and should be used to * enumerate existing devices and load them. However, * everything that is loaded here should still stay in @@ -426,9 +428,6 @@ struct UnitVTable { /* The bus vtable */ const sd_bus_vtable *bus_vtable; - /* strv list of changing properties */ - const char * const * const bus_changing_properties; - /* The strings to print in status messages */ UnitStatusMessageFormats status_message_formats;