GNUnet 0.21.1
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 648 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 657 of file gnunet_configuration_lib.h.

Referenced by main().

◆ section

char* GNUNET_CONFIGURATION_ConfigSettings::section

◆ 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 677 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 682 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 687 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 692 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 697 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 704 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: