From 3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 31 Aug 2006 18:49:05 +0000 Subject: todo_chg_priority(), todo_get_item() and todo_get_position() added todo_insert() suppressed --- src/todo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/todo.h b/src/todo.h index ff4e0db..606c8d9 100755 --- a/src/todo.h +++ b/src/todo.h @@ -1,4 +1,4 @@ -/* $calcurse: todo.h,v 1.2 2006/08/30 17:47:35 culot Exp $ */ +/* $calcurse: todo.h,v 1.3 2006/08/31 18:49:05 culot Exp $ */ /* * Calcurse - text-based organizer @@ -36,8 +36,10 @@ struct todo_s { 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, int id); void todo_delete_bynum(unsigned num); +struct todo_s *todo_get_item(int item_number); +int todo_get_position(struct todo_s *i); +int todo_chg_priority(int action, int item_num); #endif /* CALCURSE_TODO_H */ -- cgit v1.2.3-70-g09d2