avoid removal of recurrent task due to TW-638 bug of taskwarrior
[ptask.git] / src / tw.h
index a9af11d..18e3720 100644 (file)
--- a/src/tw.h
+++ b/src/tw.h
@@ -29,6 +29,10 @@ struct task {
        char *project;
        char *priority;
        char *urgency;
+       char *recur;
+       struct tm *entry;
+       struct tm *due;
+       struct tm *start;
 };
 
 struct project {
@@ -40,7 +44,9 @@ struct task **tw_get_all_tasks(const char *status);
 void tw_modify_description(const char *uuid, const char *newdesc);
 void tw_modify_project(const char *uuid, const char *newproj);
 void tw_modify_priority(const char *uuid, const char *priority);
-void tw_done(const char *uuid);
+void tw_task_done(const char *uuid);
+void tw_task_start(const char *uuid);
+void tw_task_stop(const char *uuid);
 void tw_task_remove(const char *);
 void tw_add(const char *newdesc, const char *prj, const char *prio);
 void tw_task_list_free(struct task **tasks);