「🏗️」 wip: work in progress, not done yet.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user