summaryrefslogtreecommitdiffstats
path: root/tasklst.h
diff options
context:
space:
mode:
authorAriadna Vigo <arivigodr@gmail.com>2020-07-21 14:29:47 +0200
committerAriadna Vigo <arivigodr@gmail.com>2020-07-24 18:59:14 +0200
commitf4b3177bbd0e9b46eb078f199d57fcf120c2f88e (patch)
treec3dd37437233eec5605d888db52dbea542bd5f09 /tasklst.h
parent8c50fbcab556ec7f254b8e7b10c28945ca84ef15 (diff)
New way to add tasks to an already existing task file.
Diffstat (limited to 'tasklst.h')
-rw-r--r--tasklst.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasklst.h b/tasklst.h
index c555413..c4be946 100644
--- a/tasklst.h
+++ b/tasklst.h
@@ -21,6 +21,7 @@ int tasklst_expired(TaskLst tasks);
int tasklst_tasks_total(TaskLst tasks);
int tasklst_tasks_todo(TaskLst tasks);
int tasklst_tasks_done(TaskLst tasks);
+int tasklst_add_task(TaskLst *tasks, int status, const char *str);
int tasklst_read_from_file(TaskLst *tasks, FILE *fp);
void tasklst_write_to_file(FILE *fp, TaskLst tasks);