Added a "double" getter to libstrongswan settings

This commit is contained in:
Martin Willi
2010-01-11 16:39:28 +01:00
parent dbee988e28
commit 527f7f9b1c
2 changed files with 35 additions and 0 deletions
+10
View File
@@ -84,6 +84,16 @@ struct settings_t {
*/
int (*get_int)(settings_t *this, char *key, int def, ...);
/**
* Get an double value.
*
* @param key key including sections, printf style format
* @param def value returned if key not found
* @param ... argument list for key
* @return value of the key
*/
double (*get_double)(settings_t *this, char *key, double def, ...);
/**
* Get a time value.
*