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'. | |
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.
| 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().
| char* GNUNET_CONFIGURATION_ConfigSettings::section |
Name of the section.
Definition at line 764 of file gnunet_configuration_lib.h.
Referenced by GNUNET_CONFIGURATION_config_settings_free(), GNUNET_CONFIGURATION_config_tool_run(), and main().
| char* GNUNET_CONFIGURATION_ConfigSettings::option |
Name of the option.
Definition at line 769 of file gnunet_configuration_lib.h.
Referenced by GNUNET_CONFIGURATION_config_settings_free(), GNUNET_CONFIGURATION_config_tool_run(), and main().
| char* GNUNET_CONFIGURATION_ConfigSettings::value |
Value to set.
Definition at line 774 of file gnunet_configuration_lib.h.
Referenced by GNUNET_CONFIGURATION_config_settings_free(), GNUNET_CONFIGURATION_config_tool_run(), and main().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().