summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/H5D.c b/src/H5D.c
index dde94a2..f7bc440 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2261,6 +2261,32 @@ H5D_typeof (H5D_t *dset)
/*-------------------------------------------------------------------------
+ * Function: H5D_get_file
+ *
+ * Purpose: Returns the dataset's file pointer.
+ *
+ * Return: Success: Ptr to the dataset's file pointer.
+ *
+ * Failure: NULL
+ *
+ * Programmer: Quincey Koziol
+ * Thursday, October 22, 1998
+ *
+ * Modifications:
+ *
+ *-------------------------------------------------------------------------
+ */
+H5F_t *
+H5D_get_file (const H5D_t *dset)
+{
+ FUNC_ENTER (H5D_get_file, NULL);
+ assert (dset);
+ assert (dset->ent.file);
+ FUNC_LEAVE (dset->ent.file);
+}
+
+
+/*-------------------------------------------------------------------------
* Function: H5D_init_storage
*
* Purpose: Initialize the data for a new dataset. If a selection is