GNUnet 0.22.1
GNUNET_GETOPT_CommandLineProcessorContext Struct Reference

General context for command line processors. More...

#include <gnunet_getopt_lib.h>

Collaboration diagram for GNUNET_GETOPT_CommandLineProcessorContext:
[legend]

Data Fields

const char * binaryName
 Name of the application. More...
 
const char * binaryOptions
 Name of application with option summary. More...
 
const struct GNUNET_GETOPT_CommandLineOptionallOptions
 Array with all command line options. More...
 
char *const * argv
 Original command line. More...
 
unsigned int argc
 Total number of argv's. More...
 
unsigned int currentArgument
 Current argument. More...
 

Detailed Description

General context for command line processors.

Definition at line 56 of file gnunet_getopt_lib.h.

Field Documentation

◆ binaryName

const char* GNUNET_GETOPT_CommandLineProcessorContext::binaryName

Name of the application.

Definition at line 61 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().

◆ binaryOptions

const char* GNUNET_GETOPT_CommandLineProcessorContext::binaryOptions

Name of application with option summary.

Definition at line 66 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().

◆ allOptions

const struct GNUNET_GETOPT_CommandLineOption* GNUNET_GETOPT_CommandLineProcessorContext::allOptions

Array with all command line options.

Definition at line 71 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().

◆ argv

char* const* GNUNET_GETOPT_CommandLineProcessorContext::argv

Original command line.

Definition at line 76 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().

◆ argc

unsigned int GNUNET_GETOPT_CommandLineProcessorContext::argc

Total number of argv's.

Definition at line 81 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().

◆ currentArgument

unsigned int GNUNET_GETOPT_CommandLineProcessorContext::currentArgument

Current argument.

Definition at line 86 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().


The documentation for this struct was generated from the following file: