diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-25 13:34:28 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:34 +0200 |
commit | 3763aa1ebff3cf60e20e083d28af7000e8646b5b (patch) | |
tree | 7aa1910305de4b60a95e70827b1aa641a938a224 /src/calcurse.h | |
parent | 244b6c927db34cea9cc83486510af60fd6ae7926 (diff) | |
download | calcurse-3763aa1ebff3cf60e20e083d28af7000e8646b5b.zip |
src/day.c: Add day_write_stdout()
This function allows for writing stored items to stdout in a fashion
similar to day_write_pad(). This will be used as a convenience wrapper
when switching to day_store_items() in non-interactive mode and also
allows for easily implementing a "pipe-day" feature.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
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 407734d..be2229b 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -668,6 +668,8 @@ int day_store_items(long, unsigned *, unsigned *, regex_t *); struct day_items_nb *day_process_storage(struct date *, unsigned, struct day_items_nb *); void day_write_pad(long, int, int, int); +void day_write_stdout(long, const char *, const char *, const char *, + const char *); void day_popup_item(void); int day_check_if_item(struct date); unsigned day_chk_busy_slices(struct date, int, int *); |