|
Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
|

Go to the source code of this file.
Functions | |
| int | get_nb_mandatory_option (const struct option_list_s *opt_list) |
| Get the number of mandatory options needed for the server. | |
| int | check_mandatory_set (int ac, const char **av, int nb_param, const struct option_list_s *opt_list) |
| Check if there's every mandatory options in the arguments passed to the program. | |
| int check_mandatory_set | ( | int | ac, |
| const char ** | av, | ||
| int | nb_param, | ||
| const struct option_list_s * | opt_list ) |
Check if there's every mandatory options in the arguments passed to the program.
| ac | Number of arguments |
| av | Variables passed as parameter to the program |
| nb_param | Number of parameter |
| opt_list | The constant defined with every known command |
Definition at line 54 of file check_arg_mandatory.c.
| int get_nb_mandatory_option | ( | const struct option_list_s * | opt_list | ) |
Get the number of mandatory options needed for the server.
| opt_list | The constant defined with every known command |
Definition at line 14 of file check_arg_mandatory.c.