summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Df.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2009-04-17 19:09:35 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2009-04-17 19:09:35 (GMT)
commit3577791dcc55259829af881545db3482d6dc9405 (patch)
tree859d733570b3beea0a019a6ca6d6031e29374a3f /fortran/src/H5Df.c
parentccb31223c4156ef0dbe025435ee859d9d76e64d8 (diff)
downloadhdf5-3577791dcc55259829af881545db3482d6dc9405.zip
hdf5-3577791dcc55259829af881545db3482d6dc9405.tar.gz
hdf5-3577791dcc55259829af881545db3482d6dc9405.tar.bz2
[svn-r16782] Description:
Merged the changes from the trunk/fortran into the branch: used: svn merge -r 16362:16781 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran Platforms tested: smirom (pgf90, ifort) linew
Diffstat (limited to 'fortran/src/H5Df.c')
-rw-r--r--fortran/src/H5Df.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/fortran/src/H5Df.c b/fortran/src/H5Df.c
index 58f3ce2..a7c6e75 100644
--- a/fortran/src/H5Df.c
+++ b/fortran/src/H5Df.c
@@ -1992,4 +1992,32 @@ nh5dcreate_anon_c (hid_t_f *loc_id, hid_t_f *type_id, hid_t_f *space_id,
return ret_value;
}
+/*----------------------------------------------------------------------------
+ * Name: h5dget_access_plist_c
+ * Purpose: Call H5Dget_access_plist
+ * Inputs:
+ * dset_id - dataset identifier
+ * Outputs:
+ * plist_id - the dataset access property list identifier.
+ *
+ * Returns: 0 on success, -1 on failure
+ * Programmer: M.S. Breitenfeld
+ * April 13, 2009
+ *---------------------------------------------------------------------------*/
+int_f
+nh5dget_access_plist_c (hid_t_f *dset_id, hid_t_f *plist_id)
+{
+ int ret_value = -1;
+ /*
+ * Call H5Dget_access_plist function.
+ */
+ if((*plist_id = (hid_t_f)H5Dget_access_plist((hid_t)*dset_id)) < 0)
+ goto DONE;
+
+ ret_value = 0;
+
+ DONE:
+ return ret_value;
+}
+