diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-04 22:26:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-04 22:26:15 +0000 |
commit | 5f7a1f1f2f20f07706275c9270f2f4ed0eb61d7a (patch) | |
tree | c5b661da3bd3dd07face32df7e68c37a9334cc53 /src/include/gnunet_configuration_lib.h | |
parent | 826d0b5c3deef513a4053342382a149ff844d004 (diff) | |
download | gnunet-5f7a1f1f2f20f07706275c9270f2f4ed0eb61d7a.tar.gz gnunet-5f7a1f1f2f20f07706275c9270f2f4ed0eb61d7a.zip |
-adding GNUNET_CONFIGURATION_load_from
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 | * |