modified: src/planner.h
parent
8db61cec44
commit
9b98291c1e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue