summaryrefslogtreecommitdiff
path: root/src/core/timer.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-21 03:25:28 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-21 03:43:46 +0100
commit06642d1795382a4849aa750ee54238f91e2f3126 (patch)
tree6f541211f90f2ae2be42f442ec77ae3571aa5ebd /src/core/timer.h
parent155e8b9adce60eff5aa5cdeb16fac7b6530e3e3f (diff)
timer: add timer persistance (aka anacron-like behaviour)
Diffstat (limited to 'src/core/timer.h')
-rw-r--r--src/core/timer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/timer.h b/src/core/timer.h
index 3e7efa4c83..712cced296 100644
--- a/src/core/timer.h
+++ b/src/core/timer.h
@@ -82,7 +82,11 @@ struct Timer {
TimerResult result;
- usec_t last_trigger_monotonic;
+ bool persistent;
+
+ dual_timestamp last_trigger;
+
+ char *stamp_path;
};
void timer_free_values(Timer *t);