GNUnet  0.11.x
Data Fields
GNUNET_CONFIGURATION_ConfigSettings Struct Reference

Closure for GNUNET_CONFIGURATION_config_tool_run() with settings for what should be done with the configuration. More...

#include <gnunet_configuration_lib.h>

Data Fields

unsigned int api_version
 Must be set to the API version, i.e. More...
 
char * section
 Name of the section. More...
 
char * option
 Name of the option. More...
 
char * value
 Value to set. More...
 
int is_filename
 Treat option as a filename. More...
 
int list_sections
 Whether to show the sections. More...
 
int rewrite
 Should we write out the configuration file, even if no value was changed? More...
 
int diagnostics
 Should we give extra diagnostics? More...
 
int full
 Should the generated configuration file contain the whole configuration? More...
 
int global_ret
 Return value from the operation, to be returned from 'main'. More...
 

Detailed Description

Closure for GNUNET_CONFIGURATION_config_tool_run() with settings for what should be done with the configuration.

Definition at line 641 of file gnunet_configuration_lib.h.

Field Documentation

◆ api_version

unsigned int GNUNET_CONFIGURATION_ConfigSettings::api_version

Must be set to the API version, i.e.

GNUNET_UTIL_VERSION. Used to detect which version of the struct the client is using.

Definition at line 650 of file gnunet_configuration_lib.h.

Referenced by main().

◆ section

char* GNUNET_CONFIGURATION_ConfigSettings::section

Name of the section.

Definition at line 655 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_settings_free(), and GNUNET_CONFIGURATION_config_tool_run().

◆ option

char* GNUNET_CONFIGURATION_ConfigSettings::option

◆ value

char* GNUNET_CONFIGURATION_ConfigSettings::value

◆ is_filename

int GNUNET_CONFIGURATION_ConfigSettings::is_filename

Treat option as a filename.

Definition at line 670 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run().

◆ list_sections

int GNUNET_CONFIGURATION_ConfigSettings::list_sections

Whether to show the sections.

Definition at line 675 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run().

◆ rewrite

int GNUNET_CONFIGURATION_ConfigSettings::rewrite

Should we write out the configuration file, even if no value was changed?

Definition at line 680 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run().

◆ diagnostics

int GNUNET_CONFIGURATION_ConfigSettings::diagnostics

Should we give extra diagnostics?

Definition at line 685 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run().

◆ full

int GNUNET_CONFIGURATION_ConfigSettings::full

Should the generated configuration file contain the whole configuration?

Definition at line 690 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run().

◆ global_ret

int GNUNET_CONFIGURATION_ConfigSettings::global_ret

Return value from the operation, to be returned from 'main'.

Definition at line 697 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), main(), and run().


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