aboutsummaryrefslogtreecommitdiff
path: root/scripts/write_config/solution.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/write_config/solution.h')
-rw-r--r--scripts/write_config/solution.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/write_config/solution.h b/scripts/write_config/solution.h
index 91db619..100a9fe 100644
--- a/scripts/write_config/solution.h
+++ b/scripts/write_config/solution.h
@@ -8,6 +8,14 @@
#ifndef _SOLUTION_H_
#define _SOLUTION_H_
-void solution_check(struct symlist *sl, FILE * f);
+#define BUFFER_SIZE 32
+
+struct solution {
+ int *sol;
+ size_t size;
+};
+
+struct solution *solution_load(FILE *fmap, FILE *fsolved);
+void solution_check(struct symlist *sl, struct solution *s);
#endif /* _SOLUTION_H_ */