LFX Mentorship 2023
Public Attributes | List of all members
opt Struct Reference

Option Struct. More...

#include <option.h>

Public Attributes

char * opt_name
 
int args_len
 
char ** args
 
bool found
 
bool(* handle_func )(const struct opt *)
 

Detailed Description

Option Struct.

Parameters
opt_nameoption name.
args_lenargs length.
argschar pointer arrary. It contains arguments.
foundinitialize to false. Set to true if the option is found.
handle_funcpointer of option handler.

The documentation for this struct was generated from the following file: