diff options
| author | J08nY | 2017-10-08 20:00:10 +0200 |
|---|---|---|
| committer | J08nY | 2017-10-08 20:00:10 +0200 |
| commit | d06df483bc75871a3046885c41ae96751a32cec8 (patch) | |
| tree | 0d892e8387f581fa8b78ef9a1a61a9a9547e8887 /src/exhaustive | |
| parent | 39aa16cf47e7b85b936f56a3256c1b547ed1bb68 (diff) | |
| download | ecgen-d06df483bc75871a3046885c41ae96751a32cec8.tar.gz ecgen-d06df483bc75871a3046885c41ae96751a32cec8.tar.zst ecgen-d06df483bc75871a3046885c41ae96751a32cec8.zip | |
Diffstat (limited to 'src/exhaustive')
| -rw-r--r-- | src/exhaustive/anomalous.h | 2 | ||||
| -rw-r--r-- | src/exhaustive/exhaustive.h | 29 |
2 files changed, 4 insertions, 27 deletions
diff --git a/src/exhaustive/anomalous.h b/src/exhaustive/anomalous.h index c23490f..886ef62 100644 --- a/src/exhaustive/anomalous.h +++ b/src/exhaustive/anomalous.h @@ -13,7 +13,7 @@ #include "io/cli.h" #include "misc/types.h" -typedef struct disc_t { +typedef struct { GEN d; GEN j; GEN alpha; diff --git a/src/exhaustive/exhaustive.h b/src/exhaustive/exhaustive.h index ddc1ef6..8d11da2 100644 --- a/src/exhaustive/exhaustive.h +++ b/src/exhaustive/exhaustive.h @@ -5,8 +5,8 @@ /** * @file exhaustive.h */ -#ifndef ECGEN_GENERATORS_H -#define ECGEN_GENERATORS_H +#ifndef ECGEN_EXHAUSTIVE_H +#define ECGEN_EXHAUSTIVE_H #include "misc/types.h" @@ -22,34 +22,11 @@ typedef struct { /** * @brief - * @return - */ -exhaustive_t *exhaustive_new(void); - -/** - * @brief - * @param generators - * @param validators - * @param argss - * @param unrolls - * @return - */ -exhaustive_t *exhaustive_create(gen_f *generators, check_t **validators, - arg_t **argss, unroll_f *unrolls); - -/** - * @brief * @param setup */ void exhaustive_clear(exhaustive_t *setup); /** - * @brief - * @param setup - */ -void exhaustive_free(exhaustive_t **setup); - -/** * * @param unrolls * @param cfg @@ -90,4 +67,4 @@ int exhaustive_gen(curve_t *curve, const config_t *cfg, */ int exhaustive_do(config_t *cfg); -#endif // ECGEN_GENERATORS_H +#endif // ECGEN_EXHAUSTIVE_H |
