21 lines
311 B
C
21 lines
311 B
C
#ifndef OPTIONS_H
|
|
#define OPTIONS_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdio.h>
|
|
|
|
struct options {
|
|
FILE *output;
|
|
size_t w;
|
|
size_t h;
|
|
size_t max_iter;
|
|
enum {
|
|
BUDDHABROT,
|
|
MANDELBROT,
|
|
} render;
|
|
};
|
|
|
|
struct options parse_options(int *argc, char **argv[]);
|
|
|
|
#endif /* !OPTIONS_H */
|