summaryrefslogtreecommitdiff
path: root/src/core/timer.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-10 00:54:46 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-10 00:56:32 +0100
commitb719810db446244ff708a2f5f08566af67ddab61 (patch)
treeceea2415cac3f0f57a42c5c8f84269a6434118b1 /src/core/timer.h
parent28989b63f5e3a959557000f21f3891af08be40f7 (diff)
dbus: properly serialize calendar timer data
As it turns out the bus properties for timer units wre really broken, so let's clean this up for good and properly add calendar timer serialization. We really should get that right before finalizing the bus API documentation in the wiki...
Diffstat (limited to 'src/core/timer.h')
-rw-r--r--src/core/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/timer.h b/src/core/timer.h
index 57a514a68c..10d3ce1116 100644
--- a/src/core/timer.h
+++ b/src/core/timer.h
@@ -52,8 +52,8 @@ typedef struct TimerValue {
bool disabled;
clockid_t clock_id;
- usec_t value;
- CalendarSpec *calendar_spec;
+ usec_t value; /* only for monotonic events */
+ CalendarSpec *calendar_spec; /* only for calendar events */
usec_t next_elapse;
LIST_FIELDS(struct TimerValue, value);