Updated the task view and backend to handle more like a routine
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
|
||||
// Data store operations for tasks
|
||||
task_t *find_task(uint16 id);
|
||||
task_t *add_task(uint8 user_id, const char *title, int64 due_date);
|
||||
task_t *add_task(uint8 user_id, const char *title, int64 due_date,
|
||||
uint8 period = PERIOD_MORNING, uint8 recurrence = 0);
|
||||
bool remove_task(uint16 id);
|
||||
void remove_tasks_for_user(uint8 user_id);
|
||||
void sort_tasks_by_due_date(task_t **arr, int count);
|
||||
|
||||
Reference in New Issue
Block a user