diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-11 20:12:00 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-13 17:39:44 +0100 |
commit | ae49ef1974883dfd789f73db5dfa6d27184be444 (patch) | |
tree | 4888748c26993ebfb2014856b45521c9af3f96ec /src/calcurse.h | |
parent | d118beceee701580948eb3c23fb0677920042422 (diff) | |
download | calcurse-ae49ef1974883dfd789f73db5dfa6d27184be444.zip |
Implement recur_{apoint,event}_tostr()
Add functions to serialize recurrent items without immediately writing
them to stdout.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 701dd01..0292cd6 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -964,7 +964,9 @@ struct recur_apoint *recur_apoint_scan(FILE *, struct tm, struct tm, struct recur_event *recur_event_scan(FILE *, struct tm, int, char, int, struct tm, char *, llist_t *, struct item_filter *); +char *recur_apoint_tostr(struct recur_apoint *); void recur_apoint_write(struct recur_apoint *, FILE *); +char *recur_event_tostr(struct recur_event *); void recur_event_write(struct recur_event *, FILE *); void recur_save_data(FILE *); unsigned recur_item_find_occurrence(long, long, llist_t *, int, |