🏗️」 wip: started the parsing of the args

This commit is contained in:
2025-08-11 19:51:18 +02:00
parent 8c533e2741
commit 9895a80833
8 changed files with 97 additions and 3 deletions

9
includes/help.h Normal file
View File

@ -0,0 +1,9 @@
#pragma once
/**
* @brief Can be used to print the help message if no host (or addr) are
* provided
*/
void print_no_host(char *av);
void print_help(void);

11
includes/opt_parse.h Normal file
View File

@ -0,0 +1,11 @@
#pragma once
typedef struct {
} args_t;
/**
* @brief Can be used to parse the command line options
* @param av The argv of the program
*/
int opt_parse(char **av, args_t *args);

1
includes/ping.h Normal file
View File

@ -0,0 +1 @@
#pragma once