modified: doc/docu.md

sql
ketrptr 2024-12-09 21:12:41 +01:00
parent 7b266086fd
commit 83830fd506
1 changed files with 7 additions and 5 deletions

View File

@ -7,20 +7,22 @@ typedef struct Subject{
char * name; char * name;
time_t * created; time_t * created;
time_t * deadline; time_t * deadline;
int priority;
} Subject; } Subject;
typedef struct Event { typedef struct Event {
Subject *subject; Subject subject;
time_t plannedStartTime; time_t plannedStartTime;
time_t plannedEndTime; time_t plannedEndTime;
int priority;
bool done;
}Event; }Event;
//to Ical
typedef struct DayPlan{ typedef struct DayPlan{
int availableTime;
time_t date; time_t date;
Event * plan; Event ** plan; //arr of event*
size_t planLen;//len of plan array
size_t planSize;//allocated space fro plan array
}DayPlan; }DayPlan;
``` ```