From f4b3177bbd0e9b46eb078f199d57fcf120c2f88e Mon Sep 17 00:00:00 2001 From: Ariadna Vigo Date: Tue, 21 Jul 2020 14:29:47 +0200 Subject: New way to add tasks to an already existing task file. --- tasklst.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tasklst.h') 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); -- cgit v1.2.3