X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Ftw.h;h=f6718cb6d4429589ab501cb87b9ba60ea949727c;hb=d1d78bf94968b488c5f175d6859f76de0c8eb41d;hp=5942fa1e5d201277405e49161f5dac93c04d61b2;hpb=2b8e6f4abbedd42ca15b9e67a35ee63c7b290d84;p=ptask.git diff --git a/src/tw.h b/src/tw.h index 5942fa1..f6718cb 100644 --- a/src/tw.h +++ b/src/tw.h @@ -27,9 +27,15 @@ struct task { char *uuid; char *note; char *project; + char *priority; }; -struct task **get_all_tasks(); +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_add(const char *newdesc); + char *task_exec(char *opts); char *escape(const char *txt);