Claude opus authored everything to make the user and task work. First iteration

This commit is contained in:
2026-03-07 21:39:10 -05:00
parent 8ab1efcca7
commit 2bee7dce43
25 changed files with 2003 additions and 164 deletions

View File

@@ -0,0 +1,12 @@
#pragma once
#include "todo.hpp"
#include "types.hpp"
// Data store operations for tasks
internal task_t *find_task(uint16 id);
internal task_t *add_task(uint8 user_id, const char *title, int64 due_date);
internal bool remove_task(uint16 id);
internal void remove_tasks_for_user(uint8 user_id);
internal void sort_tasks_by_due_date(task_t **arr, int count);
internal void seed_tasks();