Go to the source code of this file.
Functions | |
static void | print_filename_option (void *cls, const char *section, const char *option, const char *value) |
Print each option in a given section as a filename. More... | |
static void | print_option (void *cls, const char *section, const char *option, const char *value) |
Print each option in a given section. More... | |
static void | print_section_name (void *cls, const char *section) |
Print out given section name. More... | |
void | GNUNET_CONFIGURATION_config_tool_run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) |
Main task to run to perform operations typical for gnunet-config as per the configuration settings given in cls. More... | |
void | GNUNET_CONFIGURATION_config_settings_free (struct GNUNET_CONFIGURATION_ConfigSettings *cs) |
Free resources associated with cs. More... | |
|
static |
Print each option in a given section as a filename.
cls | closure |
section | name of the section |
option | name of the option |
value | value of the option |
Definition at line 38 of file configuration_helper.c.
References cfg, GNUNET_assert, GNUNET_CONFIGURATION_get_value_filename(), GNUNET_free, GNUNET_OK, and GNUNET_STRINGS_filename_expand().
Referenced by GNUNET_CONFIGURATION_config_tool_run().
|
static |
Print each option in a given section.
cls | closure |
section | name of the section |
option | name of the option |
value | value of the option |
Definition at line 75 of file configuration_helper.c.
References value.
Referenced by GNUNET_CONFIGURATION_config_tool_run().
|
static |
Print out given section name.
cls | unused |
section | a section in the configuration file |
Definition at line 97 of file configuration_helper.c.
Referenced by GNUNET_CONFIGURATION_config_tool_run().