GNUnet 0.29.1-dev.1-3-g346358e26
 
Loading...
Searching...
No Matches
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.
 
char * section
 Name of the section.
 
char * option
 Name of the option.
 
char * value
 Value to set.
 
int is_filename
 Treat option as a filename.
 
int list_sections
 Whether to show the sections.
 
int rewrite
 Should we write out the configuration file, even if no value was changed?
 
unsigned int diagnostics
 Diagnostics verbosity.
 
int full
 Should the generated configuration file contain the whole configuration?
 
int global_ret
 Return value from the operation, to be returned from 'main'.
 

Detailed Description

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

Definition at line 752 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 759 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 779 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), and main().

◆ list_sections

int GNUNET_CONFIGURATION_ConfigSettings::list_sections

Whether to show the sections.

Definition at line 784 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), and main().

◆ rewrite

int GNUNET_CONFIGURATION_ConfigSettings::rewrite

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

Definition at line 789 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), and main().

◆ diagnostics

unsigned int GNUNET_CONFIGURATION_ConfigSettings::diagnostics

Diagnostics verbosity.

Zero disables diagnostics, one reports the effective source and two or more report all sources.

Definition at line 795 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), and main().

◆ full

int GNUNET_CONFIGURATION_ConfigSettings::full

Should the generated configuration file contain the whole configuration?

Definition at line 800 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), and main().

◆ global_ret

int GNUNET_CONFIGURATION_ConfigSettings::global_ret

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

Definition at line 806 of file gnunet_configuration_lib.h.

Referenced by GNUNET_CONFIGURATION_config_tool_run(), and main().


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