Compare commits
No commits in common. "8f672ff5b0ca7bc51e492e5d6d5073124b319250" and "7b266086fd20d833c61a5a5d53e7ada951b97c17" have entirely different histories.
8f672ff5b0
...
7b266086fd
3
Makefile
3
Makefile
|
@ -1,6 +1,5 @@
|
||||||
#compiler flags
|
#compiler flags
|
||||||
|
CFLAGS=-Wall -Wetra -g
|
||||||
CFLAGS=-Wall -Wextra -g
|
|
||||||
|
|
||||||
|
|
||||||
#files
|
#files
|
||||||
|
|
12
doc/docu.md
12
doc/docu.md
|
@ -7,22 +7,20 @@ 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; //arr of event*
|
Event * plan;
|
||||||
size_t planLen;//len of plan array
|
|
||||||
size_t planSize;//allocated space fro plan array
|
|
||||||
}DayPlan;
|
}DayPlan;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue