13 lines
299 B
C
13 lines
299 B
C
|
#pragma once
|
||
|
|
||
|
struct event {
|
||
|
char summary[256];
|
||
|
char date[256];
|
||
|
struct event *next;
|
||
|
};
|
||
|
|
||
|
void print_list(struct event *head);
|
||
|
void sorted_insert(struct event **head, char date[], char summary[]);
|
||
|
void free_list(struct event *head);
|
||
|
void print_upcoming(struct event *head, char current_date[]);
|