aboutsummaryrefslogtreecommitdiffstats
path: root/src/todo.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-08-31 18:49:05 +0000
committerFrederic Culot <calcurse@culot.org>2006-08-31 18:49:05 +0000
commit3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b (patch)
tree42704a4f258edb3ea922567b087ec2d23df55374 /src/todo.h
parentbdbc063e9e40546f4a107886ff374b8319f44f41 (diff)
downloadcalcurse-3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b.tar.gz
calcurse-3d74219beb4f2e9f4ec0a6d792c52bcfa04d7e8b.zip
todo_chg_priority(), todo_get_item() and todo_get_position() added
todo_insert() suppressed
Diffstat (limited to 'src/todo.h')
-rwxr-xr-xsrc/todo.h6
1 files 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 */