summaryrefslogtreecommitdiff
path: root/web/web_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_match.h')
-rw-r--r--web/web_match.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/web_match.h b/web/web_match.h
index 478ad88..56117b5 100644
--- a/web/web_match.h
+++ b/web/web_match.h
@@ -20,9 +20,18 @@ struct match_state {
int num_darts;
};
+struct match_opts {
+ enum match_mode mode;
+ char *p1_name, *p2_name;
+ int start_pts;
+ int throws_first;
+};
+
extern struct match_state *state;
+extern struct match_opts *match_opts;
void free_state();
+void match_opts_free();
bool match_is_over();