From 8cf62c4fac8108c87a079d3a4e9750c3e3abb23e Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Wed, 30 Aug 2006 17:47:35 +0000 Subject: todo_new_item() added and id added to todo_s structure --- src/todo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/todo.h') diff --git a/src/todo.h b/src/todo.h index 9e2af31..ff4e0db 100755 --- a/src/todo.h +++ b/src/todo.h @@ -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 */ -- cgit v1.2.3-54-g00ecf