LFX Mentorship 2023
|
Option Struct. More...
#include <option.h>
Public Attributes | |
char * | opt_name |
int | args_len |
char ** | args |
bool | found |
bool(* | handle_func )(const struct opt *) |
Option Struct.
opt_name | option name. |
args_len | args length. |
args | char pointer arrary. It contains arguments. |
found | initialize to false. Set to true if the option is found. |
handle_func | pointer of option handler. |