aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_configuration_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_configuration_lib.h')
-rw-r--r--src/include/gnunet_configuration_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h
index 302429430..f782509eb 100644
--- a/src/include/gnunet_configuration_lib.h
+++ b/src/include/gnunet_configuration_lib.h
@@ -101,6 +101,18 @@ GNUNET_CONFIGURATION_load_from (struct GNUNET_CONFIGURATION_Handle *cfg,
101 101
102 102
103/** 103/**
104 * Return GNUnet's default configuration. A new configuration is allocated
105 * each time and it's up to the caller to destroy it when done. This function
106 * returns GNUnet's configuration even when #GNUNET_OS_init has been called
107 * with a value different from #GNUNET_OS_project_data_default.
108 *
109 * @return a freshly allocated configuration
110 */
111struct GNUNET_CONFIGURATION_Handle *
112GNUNET_CONFIGURATION_default (void);
113
114
115/**
104 * Parse a configuration file, add all of the options in the 116 * Parse a configuration file, add all of the options in the
105 * file to the configuration environment. 117 * file to the configuration environment.
106 * 118 *