#include <argparse.h>
Data Fields | |
| const struct argparse_option * | options |
| const char *const * | usage |
| int | flags |
| int | argc |
| const char ** | argv |
| const char ** | out |
| int | cpidx |
| const char * | optvalue |
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/replayfilewithtimestampinject/replayfilewithtimestampinject_example.c, net/transmit_multifunction/transmit_multifunction_example.c, and statUsage/statUsage_example.c.
Definition at line 93 of file argparse.h.
Field Documentation
| const struct argparse_option* argparse::options |
Definition at line 95 of file argparse.h.
Referenced by argparse_init(), argparse_parse(), and argparse_usage().
| const char* const* argparse::usage |
Definition at line 96 of file argparse.h.
Referenced by argparse_init(), and argparse_usage().
| int argparse::flags |
Definition at line 97 of file argparse.h.
Referenced by argparse_init(), and argparse_parse().
| int argparse::argc |
- Examples:
- bypass/watchdog/bypass_watchdog_example.c, net/readcapfile/readcapfile_example.c, and net/replayfilewithtimestampinject/replayfilewithtimestampinject_example.c.
Definition at line 99 of file argparse.h.
Referenced by argparse_getvalue(), and argparse_parse().
| const char** argparse::argv |
Definition at line 100 of file argparse.h.
Referenced by argparse_error(), argparse_getvalue(), argparse_long_opt(), and argparse_parse().
| const char** argparse::out |
Definition at line 101 of file argparse.h.
Referenced by argparse_parse().
| int argparse::cpidx |
Definition at line 102 of file argparse.h.
Referenced by argparse_parse().
| const char* argparse::optvalue |
Definition at line 103 of file argparse.h.
Referenced by argparse_getvalue(), argparse_long_opt(), argparse_parse(), and argparse_short_opt().
The documentation for this struct was generated from the following file:
- examples/common/argparse.h