/* * INPUT: query for previous state * linked list of subjects to store * * OUTPUT: * linked list of subjects from file * OK * * */ #include "planner.h" #include // serialize struct test format const char format[] = "{%s = {%lu, %lu, %d, %lu}\n"; int serialize(Task *s) { printf(format, s->name, s->created, s->deadline, s->priority, s->spare); return 0; }