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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h
index 0448a5865..ac14dde64 100644
--- a/src/include/gnunet_configuration_lib.h
+++ b/src/include/gnunet_configuration_lib.h
@@ -268,6 +268,22 @@ GNUNET_CONFIGURATION_get_value_number (const struct GNUNET_CONFIGURATION_Handle
268 268
269 269
270/** 270/**
271 * Get a configuration value that should be a floating point number.
272 *
273 * @param cfg configuration to inspect
274 * @param section section of interest
275 * @param option option of interest
276 * @param number where to store the floating value of the option
277 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
278 */
279int
280GNUNET_CONFIGURATION_get_value_float (const struct GNUNET_CONFIGURATION_Handle
281 *cfg, const char *section,
282 const char *option,
283 float *number);
284
285
286/**
271 * Get a configuration value that should be a relative time. 287 * Get a configuration value that should be a relative time.
272 * 288 *
273 * @param cfg configuration to inspect 289 * @param cfg configuration to inspect