full arg parse

This commit is contained in:
2025-06-04 00:07:05 +02:00
parent 5ca191d14f
commit ebce03b49c
6 changed files with 154 additions and 14 deletions
+7 -4
View File
@@ -1,14 +1,17 @@
#include <stdbool.h>
#ifndef TYPES_H
#define TYPES_H
struct Parameters {
bool quiet;
unsigned long width;
unsigned long height;
char *file_path;
unsigned int size;
float slope;
float start[3];
float var[3];
unsigned char size;
unsigned char slope;
unsigned char start[3];
unsigned char var[3];
};
typedef struct Parameters parameters;