logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                                 rte_argparse(3)

Detailed Description

       A structure used to hold argparse's configuration.

       Definition at line 145 of file rte_argparse.h.

Field Documentation

constchar*prog_name
       Program name. Must not be NULL.

       Definition at line 147 of file rte_argparse.h.

   constchar*usage
       How to use the program. Must not be NULL.

       Definition at line 149 of file rte_argparse.h.

   constchar*descriptor
       Explain what the program does. Could be NULL.

       Definition at line 151 of file rte_argparse.h.

   constchar*epilog
       Text at the bottom of help. Could be NULL.

       Definition at line 153 of file rte_argparse.h.

   boolexit_on_error
       Whether exit when error.

       Definition at line 155 of file rte_argparse.h.

   rte_arg_parser_tcallback
       User callback for parsing arguments.

       Definition at line 157 of file rte_argparse.h.

   void*opaque
       Opaque which used to invoke callback.

       Definition at line 159 of file rte_argparse.h.

   void*reserved[16]
       Reserved field used for future extension.

       Definition at line 161 of file rte_argparse.h.

   structrte_argparse_argargs[]
       Arguments configuration. Must ended with ARGPARSE_ARG_END().

       Definition at line 163 of file rte_argparse.h.

Name

       rte_argparse

Synopsis

       #include <rte_argparse.h>

   DataFields
       const char * prog_name
       const char * usage
       const char * descriptor
       const char * epilog
       bool exit_on_errorrte_arg_parser_tcallback
       void * opaque
       void * reserved [16]
       struct rte_argparse_argargs []

See Also