modified: src/planner.h

sql
simon 2024-12-11 03:51:32 +01:00
parent 8db61cec44
commit 9b98291c1e
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,9 @@ typedef struct Task {
*/
Task *newTask(char *n, time_t c, time_t d, int p, uint64_t sp);
/*
* compare function for Task
*/
int cmpTask(Task *a, Task *b);
/*
@ -47,6 +50,9 @@ typedef struct Event {
* returns NULL on failure
*/
Event *newEvent(Task *t, time_t s, time_t e, uint64_t sp);
/*
* compare function for Event
*/
int cmpEvent(Event *a, Event *b);
int genPlan(Task *head);