aboutsummaryrefslogtreecommitdiffstats
path: root/src/entry.h
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2019-12-20 09:28:54 -0700
committerkatherine <ageha@airen-no-jikken.icu>2019-12-20 09:28:54 -0700
commit41f73b0a45ba3e63ac33ebdc99f12481f5b7cdab (patch)
treecb863c4372a1386a27cd1e655afeeb160f396d46 /src/entry.h
parent31632d4edbd903826cbf8f6bb93969f0d1a983fb (diff)
downloadevery-41f73b0a45ba3e63ac33ebdc99f12481f5b7cdab.tar.gz
implement printing
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entry.h b/src/entry.h
index 41b7808..6c9791f 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -18,13 +18,13 @@ struct entry_s {
enum entry_type_e type;
bool has_end;
time_t start, end;
- struct entry_interval_s every, warn;
+ struct entry_interval_s every, warn, stay;
bool urgent;
bool local;
char *msg;
};
/* test if an entry needs warning */
-bool entry_is_active(struct entry_s *e, time_t now);
+time_t* entry_is_active(struct entry_s *e, time_t now);
#endif