diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2018-09-05 08:46:16 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2018-10-21 20:02:57 +0200 |
commit | 4b192c07733eac9be3404304cae3cf0c17374cec (patch) | |
tree | cffa780149e579b5eec8b2dc5ece2b4fcae9cbfa /src/calcurse.h | |
parent | ff402d21abdf4c33aa2c6bd81bc0a4818f00edfc (diff) | |
download | calcurse-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.h | 3 |
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. */ |