GNUnet  0.11.x
Data Fields
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 42 of file program.c.

Field Documentation

◆ args

char* const* CommandContext::args

Argv argument.

Definition at line 47 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 52 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 57 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().

◆ task_cls

void* CommandContext::task_cls

Closure for task.

Definition at line 62 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 67 of file program.c.

Referenced by GNUNET_PROGRAM_run2(), and program_main().


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