diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-01 03:35:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-01 03:35:23 (GMT) |
commit | 4aa79bb211349c6696677076c02b674275aff797 (patch) | |
tree | d78887d59edea5596c24cc9398a35eb2cc221cee /tools/h5dump.c | |
parent | 5aa61b6fcfc99ff4c6b3cfc1c639e062313564ee (diff) | |
download | hdf5-4aa79bb211349c6696677076c02b674275aff797.zip hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.gz hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.bz2 |
[svn-r641] Changed function names for beta release.
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r-- | tools/h5dump.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c index a858d40..58d723c 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -267,11 +267,12 @@ const char *pt; * *-----------------------------------------------------------------------*/ static void -dump_dataspace (hid_t space) { -hsize_t size[64]; -hsize_t maxsize[64]; /* check max dims size */ -int ndims = H5Sextent_dims(space, size, maxsize); -int i; +dump_dataspace (hid_t space) +{ + hsize_t size[64]; + hsize_t maxsize[64]; /* check max dims size */ + int ndims = H5Sget_simple_extent_dims(space, size, maxsize); + int i; indent += col; @@ -374,18 +375,18 @@ hid_t attr_id, type, space; static herr_t dump_all (hid_t group, const char *name, void __unused__ *op_data) { -hid_t obj; -hid_t (*func)(void*); -void *edata; -char *buf; -H5G_stat_t statbuf; + hid_t obj; + hid_t (*func)(void*); + void *edata; + char *buf; + H5G_stat_t statbuf; /* Disable error reporting */ H5Eget_auto (&func, &edata); H5Eset_auto (NULL, NULL); - H5Gstat(group, name, FALSE, &statbuf); + H5Gget_stat(group, name, FALSE, &statbuf); switch (statbuf.type) { case H5G_LINK: |