Claude opus authored everything to make the user and task work. First iteration
This commit is contained in:
12
Provider/main/api/tasks/store.hpp
Normal file
12
Provider/main/api/tasks/store.hpp
Normal 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();
|
||||
Reference in New Issue
Block a user