summaryrefslogtreecommitdiffstats
path: root/src/H5Cquery.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-01-06 15:51:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-01-06 15:51:40 (GMT)
commit7568dcaf151bfaa7d529ec69c57a814682bf69c1 (patch)
tree8eb57a504162d9105265e9c608ac9321c46d3320 /src/H5Cquery.c
parent0f9c6ce80e0567ec6419fb434589531cda3442cc (diff)
downloadhdf5-7568dcaf151bfaa7d529ec69c57a814682bf69c1.zip
hdf5-7568dcaf151bfaa7d529ec69c57a814682bf69c1.tar.gz
hdf5-7568dcaf151bfaa7d529ec69c57a814682bf69c1.tar.bz2
Add "image up to date" flag / parameter to metadata cache entry status calls.
Diffstat (limited to 'src/H5Cquery.c')
-rw-r--r--src/H5Cquery.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Cquery.c b/src/H5Cquery.c
index be0d4fa..f5409f7 100644
--- a/src/H5Cquery.c
+++ b/src/H5Cquery.c
@@ -231,7 +231,8 @@ H5C_get_entry_status(const H5F_t *f,
hbool_t * is_pinned_ptr,
hbool_t * is_corked_ptr,
hbool_t * is_flush_dep_parent_ptr,
- hbool_t * is_flush_dep_child_ptr)
+ hbool_t * is_flush_dep_child_ptr,
+ hbool_t * image_up_to_date_ptr)
{
H5C_t * cache_ptr;
H5C_cache_entry_t * entry_ptr = NULL;
@@ -280,6 +281,8 @@ H5C_get_entry_status(const H5F_t *f,
*is_flush_dep_parent_ptr = (entry_ptr->flush_dep_nchildren > 0);
if(is_flush_dep_child_ptr != NULL)
*is_flush_dep_child_ptr = (entry_ptr->flush_dep_nparents > 0);
+ if(image_up_to_date_ptr != NULL )
+ *image_up_to_date_ptr = entry_ptr->image_up_to_date;
} /* end else */
done: