From ad86a38f7035f750887ba98be98e75cbcd6fcdf2 Mon Sep 17 00:00:00 2001 From: Neil Fortner Date: Wed, 13 Apr 2011 16:05:40 -0500 Subject: [svn-r20492] Rename H5Frelease_file_cache to H5Fclear_elink_file_cache. Tested: Fedora (too minor for full committest) --- release_docs/RELEASE.txt | 2 +- src/H5F.c | 8 ++++---- src/H5Fpublic.h | 2 +- test/links.c | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index c01ca41..1f265f5 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -70,7 +70,7 @@ New Features ------- - Added ability to cache files opened through external links. Added new public functions H5Pset_elink_file_cache_size(), - H5Pget_elink_file_cache_size(), and H5Frelease_file_cache(). + H5Pget_elink_file_cache_size(), and H5Fclear_elink_file_cache(). (NAF - 2011/02/17) - Finished implementing all options for 'log' VFD. (QAK - 2011/1/25) - Removed all old code for Metraowerks compilers, bracketed by diff --git a/src/H5F.c b/src/H5F.c index d44c056..84d5536 100644 --- a/src/H5F.c +++ b/src/H5F.c @@ -2894,7 +2894,7 @@ done: /*------------------------------------------------------------------------- - * Function: H5Frelease_file_cache + * Function: H5Fclear_elink_file_cache * * Purpose: Releases the external file cache associated with the * provided file, potentially closing any cached files @@ -2908,12 +2908,12 @@ done: *------------------------------------------------------------------------- */ herr_t -H5Frelease_file_cache(hid_t file_id) +H5Fclear_elink_file_cache(hid_t file_id) { H5F_t *file; /* File */ herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_API(H5Frelease_file_cache, FAIL) + FUNC_ENTER_API(H5Fclear_elink_file_cache, FAIL) H5TRACE1("e", "i", file_id); /* Check args */ @@ -2927,5 +2927,5 @@ H5Frelease_file_cache(hid_t file_id) done: FUNC_LEAVE_API(ret_value) -} /* end H5Frelease_file_cache() */ +} /* end H5Fclear_elink_file_cache() */ diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h index 5dce814..f89db0a 100644 --- a/src/H5Fpublic.h +++ b/src/H5Fpublic.h @@ -173,7 +173,7 @@ H5_DLL herr_t H5Fget_mdc_size(hid_t file_id, H5_DLL herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id); H5_DLL ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size); H5_DLL herr_t H5Fget_info(hid_t obj_id, H5F_info_t *bh_info); -H5_DLL herr_t H5Frelease_file_cache(hid_t file_id); +H5_DLL herr_t H5Fclear_elink_file_cache(hid_t file_id); #ifdef __cplusplus } diff --git a/test/links.c b/test/links.c index 065ae08..25ecb23 100644 --- a/test/links.c +++ b/test/links.c @@ -6816,7 +6816,7 @@ external_file_cache(hid_t fapl, hbool_t new_format) TEST_ERROR /* Release file 1's EFC */ - if(H5Frelease_file_cache(fid1) < 0) + if(H5Fclear_elink_file_cache(fid1) < 0) TEST_ERROR /* Verify that only the parent file is now open */ @@ -6954,7 +6954,7 @@ external_file_cache(hid_t fapl, hbool_t new_format) TEST_ERROR /* Release file 1's EFC */ - if(H5Frelease_file_cache(fid1) < 0) + if(H5Fclear_elink_file_cache(fid1) < 0) TEST_ERROR /* Verify that only file 1 is now open */ @@ -7064,7 +7064,7 @@ external_file_cache(hid_t fapl, hbool_t new_format) TEST_ERROR /* Release file 1's EFC */ - if(H5Frelease_file_cache(fid1) < 0) + if(H5Fclear_elink_file_cache(fid1) < 0) TEST_ERROR /* Verify that only file 1 is now open */ -- cgit v0.12