aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2018-09-05 08:46:16 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2018-10-21 20:02:57 +0200
commit4b192c07733eac9be3404304cae3cf0c17374cec (patch)
treecffa780149e579b5eec8b2dc5ece2b4fcae9cbfa /src/calcurse.h
parentff402d21abdf4c33aa2c6bd81bc0a4818f00edfc (diff)
downloadcalcurse-4b192c07733eac9be3404304cae3cf0c17374cec.tar.gz
calcurse-4b192c07733eac9be3404304cae3cf0c17374cec.zip
Error return code for io_reload_data()
The return code from new_data() and io_load_data() is explicitly defined as a bit mask. A file access error is recognised and reported back to the user. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 49b1a70..4f41deb 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -673,7 +673,8 @@ enum {
IO_RELOAD_CTINUE,
IO_RELOAD_MERGE,
IO_RELOAD_CANCEL,
- IO_RELOAD_NOOP
+ IO_RELOAD_NOOP,
+ IO_RELOAD_ERROR
};
/* Week days. */