tool to access and manipulate GNUnet configuration files More...
Go to the source code of this file.
Functions | |
| static void | report_cleaned_definition (void *cls, const char *section, const char *option, unsigned int line) |
| Report a definition removed by configuration cleanup. | |
| int | main (int argc, char *const *argv) |
| Program to manipulate configuration files. | |
Variables | |
| static char * | backend_check |
| Backend to check if the respective plugin is loadable. | |
| static int | cflags |
| If printing the value of CFLAGS has been requested. | |
| static int | clean |
| Remove redundant definitions from the main configuration file. | |
| static int | is_experimental |
| Check if this is an experimental build. | |
| static int | no_defaults |
| Do not load default configuration. | |
| static char * | ram_config |
| Parse configuration from this memory. | |
| static int | libs |
| If printing the value of LIBS has been requested. | |
| static int | prefix |
| If printing the value of PREFIX has been requested. | |
tool to access and manipulate GNUnet configuration files
Definition in file gnunet-config.c.
|
static |
Report a definition removed by configuration cleanup.
| cls | target filename |
| section | configuration section |
| option | configuration option |
| line | removed line |
Definition at line 82 of file gnunet-config.c.
References _, filename, and line.
Referenced by main().
| int main | ( | int | argc, |
| char *const * | argv | ||
| ) |
Program to manipulate configuration files.
| argc | number of arguments from the command line |
| argv | command line arguments |
Definition at line 106 of file gnunet-config.c.
References _, GNUNET_CONFIGURATION_ConfigSettings::api_version, backend_check, cfg, cflags, clean, GNUNET_OS_ProjectData::config_file, GNUNET_CONFIGURATION_ConfigSettings::diagnostics, EXIT_INVALIDARGUMENT, GNUNET_CONFIGURATION_ConfigSettings::full, gettext_noop, GNUNET_CONFIGURATION_ConfigSettings::global_ret, GNUNET_asprintf(), GNUNET_CONFIGURATION_clean_file(), GNUNET_CONFIGURATION_CONFIG_OPTIONS, GNUNET_CONFIGURATION_config_settings_free(), GNUNET_CONFIGURATION_config_tool_run(), GNUNET_CONFIGURATION_create(), GNUNET_CONFIGURATION_default_filename(), GNUNET_CONFIGURATION_deserialize(), GNUNET_CONFIGURATION_destroy(), GNUNET_CONFIGURATION_enable_diagnostics(), GNUNET_CONFIGURATION_load(), GNUNET_CONFIGURATION_parse(), GNUNET_DISK_file_test(), GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_GETOPT_option_cfgfile(), GNUNET_GETOPT_OPTION_END, GNUNET_GETOPT_option_exclusive(), GNUNET_GETOPT_option_flag(), GNUNET_GETOPT_option_help(), GNUNET_GETOPT_option_logfile(), GNUNET_GETOPT_option_loglevel(), GNUNET_GETOPT_option_string(), GNUNET_GETOPT_option_version(), GNUNET_GETOPT_run(), GNUNET_log, GNUNET_log_setup(), GNUNET_OK, GNUNET_OS_installation_get_path(), GNUNET_OS_IPK_LIBDIR, GNUNET_OS_IPK_PREFIX, GNUNET_OS_project_data_gnunet(), GNUNET_PLUGIN_test(), GNUNET_SYSERR, GNUNET_UTIL_VERSION, GNUNET_YES, is_experimental, GNUNET_CONFIGURATION_ConfigSettings::is_filename, libs, GNUNET_CONFIGURATION_ConfigSettings::list_sections, name, ngettext, no_defaults, GNUNET_CONFIGURATION_ConfigSettings::option, options, GNUNET_CONFIGURATION_Handle::pd, prefix, ram_config, report_cleaned_definition(), GNUNET_CONFIGURATION_ConfigSettings::rewrite, GNUNET_CONFIGURATION_ConfigSettings::section, GNUNET_OS_ProjectData::user_config_file, GNUNET_CONFIGURATION_ConfigSettings::value, and GNUNET_OS_ProjectData::version.
|
static |
Backend to check if the respective plugin is loadable.
NULL if no check is to be performed. The value is the "basename" of the plugin to load.
Definition at line 35 of file gnunet-config.c.
Referenced by main().
|
static |
If printing the value of CFLAGS has been requested.
Definition at line 40 of file gnunet-config.c.
Referenced by main().
|
static |
Remove redundant definitions from the main configuration file.
Definition at line 45 of file gnunet-config.c.
Referenced by main().
|
static |
Check if this is an experimental build.
Definition at line 50 of file gnunet-config.c.
Referenced by main().
|
static |
Do not load default configuration.
Definition at line 55 of file gnunet-config.c.
Referenced by main().
|
static |
Parse configuration from this memory.
Definition at line 60 of file gnunet-config.c.
Referenced by main().
|
static |
If printing the value of LIBS has been requested.
Definition at line 65 of file gnunet-config.c.
Referenced by main().
|
static |
If printing the value of PREFIX has been requested.
Definition at line 70 of file gnunet-config.c.
Referenced by communicator_list(), connect_peers_run(), connect_peers_run(), connect_peers_run(), create_keys(), expand_dollar(), find_queue_by_ip(), gns_string_to_value(), gns_value_to_string(), GNUNET_TESTING_get_address(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), handle_add_address(), handle_gns_resolution_result(), handle_intermediate_result(), iterate_address_and_compare_cb(), iterate_address_start_burst(), lookup_communicator(), main(), start_peer_run(), stat_cmd(), store_pi(), store_prefix_file_name(), and suggest_to_connect().