diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-11-25 00:32:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-11-25 00:33:59 +0100 |
commit | 8742514c1a1a5bc0f423da9101deb66115e187ff (patch) | |
tree | 87886e4f9625e7ed2c50889b817961a981cc8887 /src/core/unit.h | |
parent | f0d7b0fcff57ff766b9882d4b11d79c9e478c3bc (diff) |
timer: recalculate next elapse for calendar timer units when the system clock is changed
Diffstat (limited to 'src/core/unit.h')
-rw-r--r-- | src/core/unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index 11804d8bcf..b40f034de1 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -358,6 +358,9 @@ struct UnitVTable { /* Return the set of units that are following each other */ int (*following_set)(Unit *u, Set **s); + /* Called whenever CLOCK_REALTIME made a jump */ + void (*time_change)(Unit *u); + /* 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 |