X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Ftw.h;h=684c56f547620e9bc1592650fea07097c9d1eb38;hb=e06d9acceda1d719f542a46e3718efc0571b5815;hp=91faed7cdd05882e61c92d963c811209dd851594;hpb=30a0f69b259de2ebc4b9a69121bda91a6be1e3b5;p=ptask.git diff --git a/src/tw.h b/src/tw.h index 91faed7..684c56f 100644 --- a/src/tw.h +++ b/src/tw.h @@ -28,6 +28,12 @@ struct task { char *note; char *project; char *priority; + char *urgency; + char *recur; + char **tags; + struct tm *entry; + struct tm *due; + struct tm *start; }; struct project { @@ -39,7 +45,10 @@ 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); struct project **tw_get_projects(struct task **tasks);