GNUnet  0.11.x
Data Fields
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 47 of file gnunet_getopt_lib.h.

Field Documentation

◆ binaryName

const char* GNUNET_GETOPT_CommandLineProcessorContext::binaryName

Name of the application.

Definition at line 52 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run(), and print_version().

◆ binaryOptions

const char* GNUNET_GETOPT_CommandLineProcessorContext::binaryOptions

Name of application with option summary.

Definition at line 57 of file gnunet_getopt_lib.h.

Referenced by format_help(), and GNUNET_GETOPT_run().

◆ allOptions

const struct GNUNET_GETOPT_CommandLineOption* GNUNET_GETOPT_CommandLineProcessorContext::allOptions

Array with all command line options.

Definition at line 62 of file gnunet_getopt_lib.h.

Referenced by format_help(), and GNUNET_GETOPT_run().

◆ argv

char* const* GNUNET_GETOPT_CommandLineProcessorContext::argv

Original command line.

Definition at line 67 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 72 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().

◆ currentArgument

unsigned int GNUNET_GETOPT_CommandLineProcessorContext::currentArgument

Current argument.

Definition at line 77 of file gnunet_getopt_lib.h.

Referenced by GNUNET_GETOPT_run().


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