#include <argparse.h>
Data Fields | |
enum argparse_option_type | type |
const char | short_name |
const char * | long_name |
void * | value |
const char * | help |
argparse_callback * | callback |
intptr_t | data |
int | flags |
char * | name_value |
Detailed Description
- Examples:
- bypass/watchdog/bypass_watchdog_example.c, net/capfileconvert/capfileconvert_example.c, net/ipfdemo/ipfdemo_example.c, net/readcapfile/readcapfile_example.c, net/replayGS/replayGS_example.c, net/transmit_multifunction/transmit_multifunction_example.c, and statUsage/statUsage_example.c.
Definition at line 78 of file argparse.h.
Field Documentation
enum argparse_option_type argparse_option::type |
Definition at line 79 of file argparse.h.
Referenced by argparse_getvalue(), argparse_long_opt(), argparse_options_check(), argparse_short_opt(), and argparse_usage().
const char argparse_option::short_name |
Definition at line 80 of file argparse.h.
Referenced by argparse_error(), argparse_short_opt(), and argparse_usage().
const char* argparse_option::long_name |
Definition at line 81 of file argparse.h.
Referenced by argparse_error(), argparse_long_opt(), and argparse_usage().
void* argparse_option::value |
Definition at line 82 of file argparse.h.
Referenced by argparse_getvalue().
const char* argparse_option::help |
Definition at line 83 of file argparse.h.
Referenced by argparse_usage().
argparse_callback* argparse_option::callback |
Definition at line 84 of file argparse.h.
Referenced by argparse_getvalue().
intptr_t argparse_option::data |
Definition at line 85 of file argparse.h.
Referenced by argparse_getvalue().
int argparse_option::flags |
Definition at line 86 of file argparse.h.
Referenced by argparse_long_opt(), and argparse_usage().
char* argparse_option::name_value |
Definition at line 87 of file argparse.h.
Referenced by argparse_usage().
The documentation for this struct was generated from the following file:
- examples/common/argparse.h