argparse_option

Reference Documentation

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: argparse_option Struct Reference
argparse_option Struct Reference

#include <argparse.h>

Data Fields

enum argparse_option_type type
 
const char short_name
 
const char * long_name
 
void * value
 
const char * help
 
argparse_callbackcallback
 
intptr_t data
 
int flags
 
char * name_value
 

Detailed Description

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