* 02110-1301 USA
*/
-#ifndef _GTASK_TW_H_
-#define _GTASK_TW_H_
+#ifndef _PTASK_TW_H_
+#define _PTASK_TW_H_
struct task {
int id;
char *priority;
};
+struct project {
+ char *name;
+ int count;
+};
+
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_add(const char *newdesc);
+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);
+void tw_project_list_free(struct project **);
#endif