15 lines
325 B
C
15 lines
325 B
C
|
#include "../src/list_handling.h"
|
||
|
#include "../src/parse_ics.h"
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int main() {
|
||
|
// initialize empty list
|
||
|
struct event *head = NULL;
|
||
|
|
||
|
char *current_date = "20240710T103000";
|
||
|
|
||
|
parse_ics_file("/home/bf/.local/share/evolution/calendar/system/calendar.ics", &head);
|
||
|
|
||
|
print_upcoming(head, current_date, 0);
|
||
|
}
|