summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-09-01 03:35:23 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-09-01 03:35:23 (GMT)
commit4aa79bb211349c6696677076c02b674275aff797 (patch)
treed78887d59edea5596c24cc9398a35eb2cc221cee /tools/h5ls.c
parent5aa61b6fcfc99ff4c6b3cfc1c639e062313564ee (diff)
downloadhdf5-4aa79bb211349c6696677076c02b674275aff797.zip
hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.gz
hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.bz2
[svn-r641] Changed function names for beta release.
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index a311c5b..0351da0 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -157,7 +157,7 @@ list_attr (hid_t obj, const char *attr_name, void __unused__ *op_data)
if ((attr = H5Aopen_name (obj, attr_name))) {
hid_t space = H5Aget_space (attr);
hsize_t size[64];
- int ndims = H5Sextent_dims (space, size, NULL);
+ int ndims = H5Sget_simple_extent_dims (space, size, NULL);
H5Sclose (space);
printf (" {");
for (i=0; i<ndims; i++) {
@@ -205,7 +205,7 @@ dataset_list1(hid_t dset)
* already been printed.
*/
space = H5Dget_space(dset);
- ndims = H5Sextent_dims(space, cur_size, max_size);
+ ndims = H5Sget_simple_extent_dims(space, cur_size, max_size);
printf (" {");
for (i=0; i<ndims; i++) {
HDfprintf (stdout, "%s%Hu", i?", ":"", cur_size[i]);
@@ -345,7 +345,7 @@ list (hid_t group, const char *name, void __unused__ *cd)
/* Get object information */
H5E_BEGIN_TRY {
- status = H5Gstat(group, name, FALSE, &sb);
+ status = H5Gget_stat(group, name, FALSE, &sb);
} H5E_END_TRY;
if (status<0) {
puts("**NOT FOUND**");