summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2011-04-13 21:05:40 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2011-04-13 21:05:40 (GMT)
commitad86a38f7035f750887ba98be98e75cbcd6fcdf2 (patch)
tree0aaeb5a9b70380c7740d9507ee9cc7eebaa7b6e3
parent2815eefb6b0ea608712e0abbc1d3db0910b4cd80 (diff)
downloadhdf5-ad86a38f7035f750887ba98be98e75cbcd6fcdf2.zip
hdf5-ad86a38f7035f750887ba98be98e75cbcd6fcdf2.tar.gz
hdf5-ad86a38f7035f750887ba98be98e75cbcd6fcdf2.tar.bz2
[svn-r20492] Rename H5Frelease_file_cache to H5Fclear_elink_file_cache.
Tested: Fedora (too minor for full committest)
-rw-r--r--release_docs/RELEASE.txt2
-rw-r--r--src/H5F.c8
-rw-r--r--src/H5Fpublic.h2
-rw-r--r--test/links.c6
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 */