diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-04 10:51:26 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-06 01:55:40 +0200 |
commit | 3b259b56207e6334eb4ec98f7c17d6b11cf15b85 (patch) | |
tree | 3d0f5c392829c88fbbf1b137bffa106b220ec9dc /src/calcurse.h | |
parent | a1394e98330eaaae67eb1567013d27ae1a25b77f (diff) | |
download | calcurse-3b259b56207e6334eb4ec98f7c17d6b11cf15b85.zip |
Add day_item_fork()
Add a new function that can be used to copy one day item into another,
cloning the actual item that is linked.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index afbf1b0..cefc850 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -667,6 +667,7 @@ char *day_item_get_mesg(struct day_item *); char *day_item_get_note(struct day_item *); long day_item_get_duration(struct day_item *); int day_item_get_state(struct day_item *); +void day_item_fork(struct day_item *, struct day_item *); int day_store_items(long, unsigned *, unsigned *, regex_t *); struct day_items_nb *day_process_storage(struct date *, unsigned, struct day_items_nb *); |