argparse_option

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
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
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: