「🏗️」 wip: started the parsing of the args
This commit is contained in:
9
includes/help.h
Normal file
9
includes/help.h
Normal 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
11
includes/opt_parse.h
Normal 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
1
includes/ping.h
Normal file
@ -0,0 +1 @@
|
||||
#pragma once
|
Reference in New Issue
Block a user