diff options
author | Frederic Culot <calcurse@culot.org> | 2006-08-31 18:49:05 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-08-31 18:49:05 +0000 |
commit | 3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b (patch) | |
tree | 42704a4f258edb3ea922567b087ec2d23df55374 /src | |
parent | bdbc063e9e40546f4a107886ff374b8319f44f41 (diff) | |
download | calcurse-3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b.tar.gz calcurse-3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b.zip |
todo_chg_priority(), todo_get_item() and todo_get_position() added
todo_insert() suppressed
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.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 */ |