#pragma once typedef struct { char *name; char opt; char *doc; } options_t; static options_t options[] = { { "help", '?', "give this help list" }, { "verbose", 'v', "verbose output" } }; #define OPT_NB 2 #define FT_PING_V 0.1 /** * @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);