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

#	define __COBJ_DECL__
#	include "cobj.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);
});

#	define __COBJ_PUB__
#	include "cobj.h"
#endif /* __TEAMS_H__ */
/* vim: ts=8 */