diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-10 15:51:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-10 15:51:48 +0000 |
commit | 569b8f3bc3c2e4f076f5ddf8ff4045b52775b8f9 (patch) | |
tree | a009f74e764337ce5d68dd10db851f770c1a0036 /src/include/gnunet_configuration_lib.h | |
parent | 1cafb66e1f1a7ef6814d7cdfdc39adfd9beda228 (diff) | |
download | gnunet-569b8f3bc3c2e4f076f5ddf8ff4045b52775b8f9.tar.gz gnunet-569b8f3bc3c2e4f076f5ddf8ff4045b52775b8f9.zip |
add API to remove section
Diffstat (limited to 'src/include/gnunet_configuration_lib.h')
-rw-r--r-- | src/include/gnunet_configuration_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h index 87aa8eacc..3cdd54c8f 100644 --- a/src/include/gnunet_configuration_lib.h +++ b/src/include/gnunet_configuration_lib.h | |||
@@ -174,6 +174,16 @@ void GNUNET_CONFIGURATION_iterate_sections (const struct GNUNET_CONFIGURATION_Ha | |||
174 | GNUNET_CONFIGURATION_Section_Iterator iter, | 174 | GNUNET_CONFIGURATION_Section_Iterator iter, |
175 | void *iter_cls); | 175 | void *iter_cls); |
176 | 176 | ||
177 | |||
178 | /** | ||
179 | * Remove the given section and all options in it. | ||
180 | * | ||
181 | * @param cfg configuration to inspect | ||
182 | * @param section name of the section to remove | ||
183 | */ | ||
184 | void GNUNET_CONFIGURATION_remove_section (struct GNUNET_CONFIGURATION_Handle *cfg, | ||
185 | const char *section); | ||
186 | |||
177 | /** | 187 | /** |
178 | * Get a configuration value that should be a number. | 188 | * Get a configuration value that should be a number. |
179 | * | 189 | * |