GNUnet 0.22.1
CommandContext Struct Reference

Context for the command. More...

Collaboration diagram for CommandContext:
[legend]

Data Fields

char *const * args
 Argv argument. More...
 
char * cfgfile
 Name of the configuration file used, can be NULL! More...
 
GNUNET_PROGRAM_Main task
 Main function to run. More...
 
void * task_cls
 Closure for task. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration to use. More...
 

Detailed Description

Context for the command.

Definition at line 43 of file program.c.

Field Documentation

◆ args

char* const* CommandContext::args

Argv argument.

Definition at line 48 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().

◆ cfgfile

char* CommandContext::cfgfile

Name of the configuration file used, can be NULL!

Definition at line 53 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().

◆ task

GNUNET_PROGRAM_Main CommandContext::task

Main function to run.

Definition at line 58 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().

◆ task_cls

void* CommandContext::task_cls

Closure for task.

Definition at line 63 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* CommandContext::cfg

Configuration to use.

Definition at line 68 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().


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