summaryrefslogtreecommitdiff
path: root/src/teams.h
blob: 98fb6f3cbd383a87f4fd2e0fd88791784f89a934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __TEAMS_H__
#	define __TEAMS_H__
#	include <stdint.h>
#	include <stdbool.h>
#	include "cobj.h"
#	include "common.h"

// Type definition
Class(team, {
	 List(team, name, char, [255]);
	 List(team, member_name, char, [3][255], int);
	 List(team, institution, char, [255]);
	 Atom(team, solved, uint8_t);
	 Func(team, printf, int);
	 Func(team, fprintf, int, FILE *);
	 Func(team, find_champion, team, ptr(team), size_t);
	 Del (team);
});
#	include "cobj.h"
#endif /* __TEAMS_H__ */
/* vim: ts=8 */