summaryrefslogtreecommitdiffstats
path: root/src/H5VLint.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-06-15 13:39:46 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-06-15 13:39:46 (GMT)
commit7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff (patch)
tree514b2bd227109c8df3709dfb1672cd376edd0073 /src/H5VLint.c
parent87a81eb5afd4d24b2ba42ef78d8aee433c8e8639 (diff)
downloadhdf5-7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff.zip
hdf5-7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff.tar.gz
hdf5-7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff.tar.bz2
[svn-r22465] add a vol_info parameter to the fapl and update some of the routines accordingly
insert (commented out though for now) public version of the VOL callback
Diffstat (limited to 'src/H5VLint.c')
-rw-r--r--src/H5VLint.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/H5VLint.c b/src/H5VLint.c
index 3edb813..57df1ce 100644
--- a/src/H5VLint.c
+++ b/src/H5VLint.c
@@ -183,7 +183,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5VL_fapl_open(H5P_genplist_t *plist, H5VL_class_t *vol_cls)
+H5VL_fapl_open(H5P_genplist_t *plist, H5VL_class_t *vol_cls, const void *vol_info)
{
herr_t ret_value = SUCCEED; /* Return value */
@@ -192,6 +192,9 @@ H5VL_fapl_open(H5P_genplist_t *plist, H5VL_class_t *vol_cls)
/* Set the vol properties for the list */
if(H5P_set(plist, H5F_ACS_VOL_NAME, &vol_cls) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "can't set vol ID")
+ /* Set the vol properties for the list */
+ if(H5P_set(plist, H5F_ACS_VOL_INFO_NAME, &vol_info) < 0)
+ HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "can't set vol info")
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -214,7 +217,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5VL_fapl_close(H5VL_class_t *vol_cls)
+H5VL_fapl_close(H5VL_class_t *vol_cls, const void *vol_info)
{
herr_t ret_value = SUCCEED; /* Return value */