argparse.h Source File
Reference Documentation
- Platform
- Intel® PAC
- Napatech SmartNIC
- Content Type
- Reference Information
- Capture Software Version
- Link™ Capture Software 12.10
Napatech Software Suite: examples/common/argparse.h Source File
Go to the documentation of this file. 107 #define OPT_END() { ARGPARSE_OPT_END, '0', "", NULL, "", NULL, 0, 0, NULL } 108 #define OPT_BOOLEAN(...) { ARGPARSE_OPT_BOOLEAN, __VA_ARGS__ } 109 #define OPT_BIT(...) { ARGPARSE_OPT_BIT, __VA_ARGS__ } 110 #define OPT_BIT64(...) { ARGPARSE_OPT_BIT64, __VA_ARGS__ } 111 #define OPT_INTEGER(...) { ARGPARSE_OPT_INTEGER, __VA_ARGS__ } 112 #define OPT_UINT64(...) { ARGPARSE_OPT_UINT64, __VA_ARGS__ } 113 #define OPT_STRING(...) { ARGPARSE_OPT_STRING, __VA_ARGS__ } 114 #define OPT_HELP() OPT_BOOLEAN('h', "help", NULL, "show this help message and exit", argparse_help_cb, 0, 0, NULL)