modified: Makefile

modified:   README.md
	new file:   debugOut
	modified:   doc/docu.md
	new file:   doc/overview.drawio
	new file:   doc/overview.png
	modified:   src/config.h
	modified:   src/db.c
	modified:   src/db.h
	modified:   src/iCal.c
	modified:   src/planner.c
	modified:   src/planner.h
	new file:   src/test.c
	modified:   src/ui.c

 Changes not staged for commit:
	deleted:    debugOut
This commit is contained in:
simon committed 2024-12-10 22:06:49 +01:00
1 parent 550a452249
commit b502e8040c
14 files changed
+231 -44

No files matched your search

+15 -19
View File
@@ -1,24 +1,20 @@
/*
* databse
* stores current state and reads previous
* INPUT: query for sotred date
* linked list of subjects to sotore
*
* OUTPUT:
* linked list of subjects from file
* OK
*
*
*/
#include "planner.h"
#include <stdio.h>
const char format[] = "{ %s = { %s}\n";
struct A {
char *s1;
char *s2;
}A;
int main(){
struct A test;
test.s1 = "asdasd";
test.s2 = "asdad";
printf(format, test.s1, test.s2);
// serialize struct test
const char format[] = "{%s = {%lu, %lu, %d}\n"; //
int serialize(Subject *s) {
printf(format, s->name, s->created, s->deadline, s->priority);
return 0;
}