Compare commits

..

3 Commits

Author SHA1 Message Date
simon 8f672ff5b0 modified: Makefile 2024-12-09 21:14:48 +01:00
ketrptr b4f526f600 modified: Makefile 2024-12-09 21:13:26 +01:00
ketrptr 83830fd506 modified: doc/docu.md 2024-12-09 21:12:41 +01:00
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,6 @@
#compiler flags #compiler flags
CFLAGS=-Wall -Wetra -g
CFLAGS=-Wall -Wextra -g
#files #files

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;
``` ```