summaryrefslogtreecommitdiff
path: root/src/choices.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2017-01-31 18:06:42 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2017-01-31 18:25:35 -0800
commit15b29a48af2175f620d0acad00bac59d2d5d8630 (patch)
treed6fa3a573b8149d7075a500407e53ad64e806b1f /src/choices.h
parent0ce32085c7b4f93eb72a5e8524a1d39cd40728d0 (diff)
Pass options to choices_init
Diffstat (limited to 'src/choices.h')
-rw-r--r--src/choices.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/choices.h b/src/choices.h
index f5f9892..e8a598b 100644
--- a/src/choices.h
+++ b/src/choices.h
@@ -4,6 +4,7 @@
#include <stdio.h>
#include "match.h"
+#include "options.h"
struct scored_result {
score_t score;
@@ -26,7 +27,7 @@ typedef struct {
unsigned int worker_count;
} choices_t;
-void choices_init(choices_t *c);
+void choices_init(choices_t *c, options_t *options);
void choices_fread(choices_t *c, FILE *file);
void choices_destroy(choices_t *c);
void choices_add(choices_t *c, const char *choice);