🏗️」 wip: work in progress, not done yet.

This commit is contained in:
2025-08-12 17:57:15 +02:00
parent bc57fe2cc2
commit f71753ffa8
6 changed files with 55 additions and 15 deletions

View File

@ -2,17 +2,18 @@
#include <help.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdint.h>
typedef struct {
bool opts[OPT_NB];
char *arg[OPT_NB];
bool opts[OPT_NB];
int arg[OPT_NB];
char **hosts;
} args_t;
/**
* @brief Can be used to parse the command line options
* @param av The argv of the program
* @param args The struct of argument
*/
int opt_parse(char **av, args_t *args);