diff options
Diffstat (limited to 'src/libstrongswan/settings.h')
-rw-r--r-- | src/libstrongswan/settings.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/libstrongswan/settings.h b/src/libstrongswan/settings.h index 91770973b..451c2a583 100644 --- a/src/libstrongswan/settings.h +++ b/src/libstrongswan/settings.h @@ -80,9 +80,18 @@ struct settings_t { * @param def default value to return if key not found * @return value of the key */ - int (*get_int)(settings_t *this, char *key, bool def); + int (*get_int)(settings_t *this, char *key, int def); /** + * Get a time value. + * + * @param key key including sections + * @param def default value to return if key not found + * @return value of the key + */ + u_int32_t (*get_time)(settings_t *this, char *key, u_int32_t def); + + /** * Destroy a settings instance. */ void (*destroy)(settings_t *this); |