summaryrefslogtreecommitdiffstats
path: root/sources/schedule.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-05-12 14:26:43 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit6c7d827904fb33d172d625ed10baadb9be342a22 (patch)
treed69b0face185de620a836c3bf62ad2e68615421b /sources/schedule.h
parent894d8332f44f64f21d43f5c8e6ae2d2207351ec3 (diff)
#942 ignore stale schedules on start
Diffstat (limited to 'sources/schedule.h')
-rw-r--r--sources/schedule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/schedule.h b/sources/schedule.h
index e88c192..c6657fb 100644
--- a/sources/schedule.h
+++ b/sources/schedule.h
@@ -2,6 +2,7 @@
#define _OG_SCHEDULE_H_
#include <stdint.h>
+#include <stdbool.h>
#include "dbi.h"
#include "list.h"
#include <ev.h>
@@ -15,6 +16,7 @@ struct og_schedule_time {
uint32_t hours;
uint32_t am_pm;
uint32_t minutes;
+ bool on_start;
};
enum og_schedule_type {