diff options
author | Frederic Culot <calcurse@culot.org> | 2006-08-30 17:47:35 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-08-30 17:47:35 +0000 |
commit | 8cf62c4fac8108c87a079d3a4e9750c3e3abb23e (patch) | |
tree | e8bed7de7906a9d16513776920d3f0ed0344e191 /src | |
parent | 11a7ed0c7b14b8e88f6713cabc6ecb8dcb1aae96 (diff) | |
download | calcurse-8cf62c4fac8108c87a079d3a4e9750c3e3abb23e.zip |
todo_new_item() added and id added to todo_s structure
Diffstat (limited to 'src')
-rwxr-xr-x | src/todo.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: todo.h,v 1.1 2006/07/31 21:00:03 culot Exp $ */ +/* $calcurse: todo.h,v 1.2 2006/08/30 17:47:35 culot Exp $ */ /* * Calcurse - text-based organizer @@ -30,12 +30,14 @@ struct todo_s { struct todo_s *next; char *mesg; + int id; }; extern struct todo_s *todolist; +int todo_new_item(int total, int colr); struct todo_s *todo_insert(char *mesg); -struct todo_s *todo_add(char *mesg); +struct todo_s *todo_add(char *mesg, int id); void todo_delete_bynum(unsigned num); #endif /* CALCURSE_TODO_H */ |