aboutsummaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/input.h b/src/input.h
index b0ab421..ead8baa 100644
--- a/src/input.h
+++ b/src/input.h
@@ -5,13 +5,9 @@
#ifndef ECGEN_INPUT_H
#define ECGEN_INPUT_H
-#include "gp.h"
+#include "random.h"
-typedef enum PARAM {
- PARAM_PRIME,
- PARAM_INT,
- PARAM_SHORT
-} param_t;
+typedef enum PARAM { PARAM_PRIME, PARAM_INT, PARAM_SHORT } param_t;
/**
*
@@ -42,10 +38,13 @@ GEN fread_int(FILE *stream, const char *prompt, long bits, int delim);
*/
GEN fread_short(FILE *stream, const char *prompt, int delim);
-
-GEN fread_param(param_t param, FILE *stream, const char *prompt, long bits, int delim);
+GEN fread_param(param_t param, FILE *stream, const char *prompt, long bits,
+ int delim);
GEN read_param(param_t param, const char *prompt, long bits, int delim);
+FILE *input_open(const char *input);
+
+void input_close(FILE *in);
-#endif //ECGEN_INPUT_H
+#endif // ECGEN_INPUT_H