aboutsummaryrefslogtreecommitdiffstats
path: root/src/calendar.h
blob: cee6f3dd6c7122b94e7156eecd92c68c05e77380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef EVERY_CALENDAR_H
#define EVERY_CALENDAR_H

#include "entry.h"

#include <stdio.h>
#include <stdbool.h>

struct calendar_s {
	size_t count, width;
	struct entry_s *entries;
	bool err_flag;
};

struct calendar_s calendar_parse(FILE *f);

void calendar_wipe(struct calendar_s *cal);

#endif