diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-01 14:26:43 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-02 10:15:35 +0200 |
commit | 3076670a76652d538f8b3d0d925197ec2ce32dd9 (patch) | |
tree | 80a90e859b8a7e7c41e7966c21eecefaac82266c /src/calcurse.h | |
parent | 29d71935afdfb18391cd2450814ba53f1739518e (diff) | |
download | calcurse-3076670a76652d538f8b3d0d925197ec2ce32dd9.zip |
Refactor out todo item serialization
Add a todo_write() function that allows one to serialize todo items and
write serialized data to an output stream in a fashion similar to
apoint_write() and event_write().
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 315f8e1..e18d754 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -827,6 +827,7 @@ int todo_hilt_pos (void); char *todo_saved_mesg (void); void todo_new_item (void); struct todo *todo_add (char *, int, char *); +void todo_write (struct todo *, FILE *); void todo_flag (void); void todo_delete (struct conf *); void todo_chg_priority (int); |