summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-08-30 17:47:35 +0000
committerFrederic Culot <calcurse@culot.org>2006-08-30 17:47:35 +0000
commit8cf62c4fac8108c87a079d3a4e9750c3e3abb23e (patch)
treee8bed7de7906a9d16513776920d3f0ed0344e191 /src
parent11a7ed0c7b14b8e88f6713cabc6ecb8dcb1aae96 (diff)
downloadcalcurse-8cf62c4fac8108c87a079d3a4e9750c3e3abb23e.tar.gz
calcurse-8cf62c4fac8108c87a079d3a4e9750c3e3abb23e.zip
todo_new_item() added and id added to todo_s structure
Diffstat (limited to 'src')
-rwxr-xr-xsrc/todo.h6
1 files changed, 4 insertions, 2 deletions
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 */