2020-11-10 17:25:43 +01:00
|
|
|
#ifndef OPTIONS_H
|
|
|
|
#define OPTIONS_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
struct options {
|
|
|
|
FILE *output;
|
|
|
|
size_t w;
|
|
|
|
size_t h;
|
2020-11-10 18:24:00 +01:00
|
|
|
size_t max_iter;
|
2020-11-12 00:14:58 +01:00
|
|
|
enum {
|
|
|
|
BUDDHABROT,
|
|
|
|
MANDELBROT,
|
|
|
|
} render;
|
2020-11-10 17:25:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
struct options parse_options(int *argc, char **argv[]);
|
|
|
|
|
|
|
|
#endif /* !OPTIONS_H */
|