diff options
Diffstat (limited to 'fractal-gen.h')
-rw-r--r-- | fractal-gen.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fractal-gen.h b/fractal-gen.h index a4c0b76..e0b69a8 100644 --- a/fractal-gen.h +++ b/fractal-gen.h @@ -28,15 +28,8 @@ #ifndef FRACTAL_GEN_H #define FRACTAL_GEN_H -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <libgen.h> -#include <complex.h> -#include <math.h> -#include <unistd.h> +#include <stdbool.h> #include <pthread.h> -#include <assert.h> typedef struct { @@ -55,6 +48,12 @@ unsigned int iterat; double power; +typedef void* (*generator_func)(void *); + +bool args_parse_okay(const int argc, const char **argv); +generator_func select_generator(const char* name); + + #include "algorithms.h" #endif |