diff options
Diffstat (limited to 'src/include/gnunet_configuration_lib.h')
-rw-r--r-- | src/include/gnunet_configuration_lib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h index f8f302a18..0fcb4e054 100644 --- a/src/include/gnunet_configuration_lib.h +++ b/src/include/gnunet_configuration_lib.h | |||
@@ -87,6 +87,19 @@ GNUNET_CONFIGURATION_load (struct GNUNET_CONFIGURATION_Handle *cfg, | |||
87 | 87 | ||
88 | 88 | ||
89 | /** | 89 | /** |
90 | * Load default configuration. This function will parse the | ||
91 | * defaults from the given defaults_d directory. | ||
92 | * | ||
93 | * @param cfg configuration to update | ||
94 | * @param defaults_d directory with the defaults | ||
95 | * @return GNUNET_OK on success, GNUNET_SYSERR on error | ||
96 | */ | ||
97 | int | ||
98 | GNUNET_CONFIGURATION_load_from (struct GNUNET_CONFIGURATION_Handle *cfg, | ||
99 | const char *defaults_d); | ||
100 | |||
101 | |||
102 | /** | ||
90 | * Parse a configuration file, add all of the options in the | 103 | * Parse a configuration file, add all of the options in the |
91 | * file to the configuration environment. | 104 | * file to the configuration environment. |
92 | * | 105 | * |