tool to access and manipulate GNUnet configuration files More...
Go to the source code of this file.
Functions | |
int | main (int argc, char *const *argv) |
Program to manipulate configuration files. More... | |
Variables | |
static char * | backend_check |
Backend to check if the respective plugin is loadable. More... | |
static int | cflags |
If printing the value of CFLAGS has been requested. More... | |
static int | is_experimental |
Check if this is an experimental build. More... | |
static int | no_defaults |
Do not load default configuration. More... | |
static char * | ram_config |
Parse configuration from this memory. More... | |
static int | libs |
If printing the value of LIBS has been requested. More... | |
static int | prefix |
If printing the value of PREFIX has been requested. More... | |
tool to access and manipulate GNUnet configuration files
Definition in file gnunet-config.c.
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 76 of file gnunet-config.c.
References _, GNUNET_CONFIGURATION_ConfigSettings::api_version, backend_check, cfg, cflags, GNUNET_OS_ProjectData::config_file, EXIT_INVALIDARGUMENT, gettext_noop, GNUNET_CONFIGURATION_ConfigSettings::global_ret, GNUNET_asprintf(), 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_load(), GNUNET_CONFIGURATION_parse(), GNUNET_DISK_file_test(), GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_free_nz, 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, libs, name, no_defaults, options, GNUNET_CONFIGURATION_Handle::pd, prefix, ram_config, GNUNET_OS_ProjectData::user_config_file, 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 |
Check if this is an experimental build.
Definition at line 45 of file gnunet-config.c.
Referenced by main().
|
static |
Do not load default configuration.
Definition at line 50 of file gnunet-config.c.
Referenced by main().
|
static |
Parse configuration from this memory.
Definition at line 55 of file gnunet-config.c.
Referenced by main().
|
static |
If printing the value of LIBS has been requested.
Definition at line 60 of file gnunet-config.c.
Referenced by main().
|
static |
If printing the value of PREFIX has been requested.
Definition at line 65 of file gnunet-config.c.
Referenced by connect_peers_run(), create_keys(), expand_dollar(), gns_string_to_value(), gns_value_to_string(), GNUNET_TESTING_get_address(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), 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().