diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-04-24 17:19:49 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-04-24 17:19:49 (GMT) |
commit | efd9b6e5257c5fecc78ca768c3e0067864f4e698 (patch) | |
tree | 07f76a4721ba126350cd5bb964e7c7936e3862cc /src/H5D.c | |
parent | 7b7ae438f722517017247b522e2848c645d96aa3 (diff) | |
download | hdf5-efd9b6e5257c5fecc78ca768c3e0067864f4e698.zip hdf5-efd9b6e5257c5fecc78ca768c3e0067864f4e698.tar.gz hdf5-efd9b6e5257c5fecc78ca768c3e0067864f4e698.tar.bz2 |
[svn-r374] ./src/H5A.c
./src/H5D.c
./src/H5Dprivate.h
./src/H5Dpkg.h [REMOVED]
./src/H5Tpkg.h
./src/H5Tprivate.h
Rearranged some header stuff so H5A doesn't have to include
the package-private header files that don't belong to it.
./src/H5E.c
Added the H5E_ATTR message to the major error struct.
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1746,3 +1746,25 @@ H5D_extend (H5D_t *dataset, const hsize_t *size) FUNC_LEAVE (SUCCEED); } + +/*------------------------------------------------------------------------- + * Function: H5D_entof + * + * Purpose: Returns a pointer to the entry for a dataset. + * + * Return: Success: Ptr to entry + * + * Failure: NULL + * + * Programmer: Robb Matzke + * Friday, April 24, 1998 + * + * Modifications: + * + *------------------------------------------------------------------------- + */ +H5G_entry_t * +H5D_entof (H5D_t *dataset) +{ + return dataset ? &(dataset->ent) : NULL; +} |