summaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-11-11 09:30:29 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-11-14 11:08:14 +0100
commit3c59faa925066f5acec45ed197785a09210875cf (patch)
tree5eaad3517653c851bd241923917ecc18a1f18c4f /src/calcurse.h
parenta9b820abbe46764f23687eac1d1f62b145cd0962 (diff)
downloadcalcurse-3c59faa925066f5acec45ed197785a09210875cf.tar.gz
calcurse-3c59faa925066f5acec45ed197785a09210875cf.zip
Use a dynamic method to print recurrent items to stdout
Add print_recur_apoint() and print_recur_event() helper functions to print recurrent items to stdout and use them everywhere. Currently, these are only wrapper functions to print_apoint() and print_event() that create temporary, non-recurrent items. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 57260d4..9094df8 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -924,6 +924,9 @@ int child_wait (int *, int *, int);
void press_any_key (void);
void print_apoint (const char *, long, struct apoint *);
void print_event (const char *, long, struct event *);
+void print_recur_apoint (const char *, long, unsigned,
+ struct recur_apoint *);
+void print_recur_event (const char *, long, struct recur_event *);
/* vars.c */
extern int col, row;