X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask-pkg-ubuntu.git;a=blobdiff_plain;f=src%2Ftw.h;h=684c56f547620e9bc1592650fea07097c9d1eb38;hp=6f3c177ee766b3b8e8fe97bbffa480fcdf54751b;hb=22c097c6297f97ecf0cce9f8cc56fac7bc56f4ae;hpb=1bb83b7691a2190bc5c4f24751d704d5aaf46028 diff --git a/src/tw.h b/src/tw.h index 6f3c177..684c56f 100644 --- a/src/tw.h +++ b/src/tw.h @@ -29,6 +29,8 @@ struct task { char *project; char *priority; char *urgency; + char *recur; + char **tags; struct tm *entry; struct tm *due; struct tm *start; @@ -43,7 +45,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);