|
DPDK
24.07.0
|
#include <rte_argparse.h>
Data Fields | |
| const char * | prog_name |
| const char * | usage |
| const char * | descriptor |
| const char * | epilog |
| bool | exit_on_error |
| rte_arg_parser_t | callback |
| void * | opaque |
| void * | reserved [16] |
| struct rte_argparse_arg | args [] |
A structure used to hold argparse's configuration.
Definition at line 152 of file rte_argparse.h.
| const char* prog_name |
Program name. Must not be NULL.
Definition at line 154 of file rte_argparse.h.
| const char* usage |
How to use the program. Must not be NULL.
Definition at line 156 of file rte_argparse.h.
| const char* descriptor |
Explain what the program does. Could be NULL.
Definition at line 158 of file rte_argparse.h.
| const char* epilog |
Text at the bottom of help. Could be NULL.
Definition at line 160 of file rte_argparse.h.
| bool exit_on_error |
Whether exit when error.
Definition at line 162 of file rte_argparse.h.
| rte_arg_parser_t callback |
User callback for parsing arguments.
Definition at line 164 of file rte_argparse.h.
| void* opaque |
Opaque which used to invoke callback.
Definition at line 166 of file rte_argparse.h.
| void* reserved[16] |
Reserved field used for future extension.
Definition at line 168 of file rte_argparse.h.
| struct rte_argparse_arg args[] |
Arguments configuration. Must ended with ARGPARSE_ARG_END().
Definition at line 170 of file rte_argparse.h.
1.8.13