diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-10-10 01:38:25 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-10-10 01:38:25 +0200 |
commit | 8553a991611d354e2b1e9d60a261c5226aa0141a (patch) | |
tree | a3487f2f67af8cf9e5aa6ef7d140be9c2f8174cb /src/io.c | |
parent | 61e2206dca574e1b4203afe30ad48c22155a1015 (diff) | |
download | calcurse-8553a991611d354e2b1e9d60a261c5226aa0141a.zip |
Add io_load_data() wrapper
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -686,6 +686,13 @@ void io_load_todo(struct item_filter *filter) file_close(data_file, __FILE_POS__); } +/* Load appointments and todo items */ +void io_load_data(struct item_filter *filter) +{ + io_load_app(filter); + io_load_todo(filter); +} + static void load_keys_ht_getkey(struct ht_keybindings_s *data, const char **key, int *len) |