diff options
| author | J08nY | 2017-03-01 11:33:16 +0100 |
|---|---|---|
| committer | J08nY | 2017-03-01 11:33:16 +0100 |
| commit | fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c (patch) | |
| tree | 6bb9eec9d4608545ec6bc61056061f7e92d7c409 /src/io/cli.h | |
| parent | 8c230aa00002b57d47160756a183d65fb895a7b4 (diff) | |
| download | ecgen-fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c.tar.gz ecgen-fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c.tar.zst ecgen-fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c.zip | |
Diffstat (limited to 'src/io/cli.h')
| -rw-r--r-- | src/io/cli.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/io/cli.h b/src/io/cli.h index dd3d791..5f668f8 100644 --- a/src/io/cli.h +++ b/src/io/cli.h @@ -18,6 +18,11 @@ extern struct argp_option options[]; enum field_e { FIELD_PRIME, FIELD_BINARY }; enum format_e { FORMAT_JSON, FORMAT_CSV }; +enum points_e { POINTS_RANDOM, POINTS_PRIME }; +struct points_s { + enum points_e type; + size_t amount; +}; typedef struct config_t { enum field_e field; @@ -34,6 +39,7 @@ typedef struct config_t { bool from_seed; char *seed; bool unique; + struct points_s points; char *datadir; enum format_e format; |
