diff options
Diffstat (limited to 'ini/ini_configobj.h')
-rw-r--r-- | ini/ini_configobj.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ini/ini_configobj.h b/ini/ini_configobj.h index 16f6499..ac85ba7 100644 --- a/ini/ini_configobj.h +++ b/ini/ini_configobj.h @@ -587,6 +587,20 @@ void ini_config_print_errors(FILE *file, char **error_list); */ const char *ini_config_get_filename(struct ini_cfgfile *file_ctx); +/** + * @brief Get pointer to collected stat data + * + * Returns the pointer to the internal stat structure. + * If stat data was not collected when the file was open + * function would return NULL. + * + * @param[in] file_ctx Configuration file object. + * + * @return Pointer to the stat structure. + */ +const struct stat *ini_config_get_stat(struct ini_cfgfile *file_ctx); + + /** * @brief Print file context |