summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-03-08 20:22:08 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-03-08 20:22:08 (GMT)
commit690a3fa06899a19d0cdb5a5b7fd4a786b3b7d024 (patch)
tree33d3a4edd2de2457aee6ec8fec690b5c04d9ae29 /tools/h5ls
parent32dba42ff8ae180fbd1b9bbe283787be6e3c5617 (diff)
downloadhdf5-690a3fa06899a19d0cdb5a5b7fd4a786b3b7d024.zip
hdf5-690a3fa06899a19d0cdb5a5b7fd4a786b3b7d024.tar.gz
hdf5-690a3fa06899a19d0cdb5a5b7fd4a786b3b7d024.tar.bz2
[svn-r3574] Purpose:
Update Description: Updated to reflect the new naming of APIs in the h5tools library. I.e., things which were once named "h5dump_*" now have the "h5tools_" prefix instead. Platforms tested: Linux
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/h5ls.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index 7a6ff39..45a726f 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -1220,7 +1220,7 @@ dump_dataset_values(hid_t dset)
* Print all the values.
*/
printf(" Data:\n");
- if (h5dump_dset(stdout, &info, dset, -1, -1)<0) {
+ if (h5tools_dump_dset(stdout, &info, dset, -1, NULL, -1) < 0) {
printf(" Unable to print data.\n");
}
@@ -1310,14 +1310,14 @@ list_attr (hid_t obj, const char *attr_name, void UNUSED *op_data)
if (hexdump_g) {
p_type = H5Tcopy(type);
} else {
- p_type = h5dump_fixtype(type);
+ p_type = h5tools_fixtype(type);
}
if (p_type>=0) {
need = nelmts * MAX(H5Tget_size(type), H5Tget_size(p_type));
buf = malloc(need);
assert(buf);
if (H5Aread(attr, p_type, buf)>=0) {
- h5dump_mem(stdout, &info, attr, p_type, space, buf,-1);
+ h5tools_dump_mem(stdout, &info, attr, p_type, space, buf, -1);
}
free(buf);
H5Tclose(p_type);
@@ -2103,7 +2103,8 @@ main (int argc, char *argv[])
file = -1;
while (fname && *fname) {
- file = h5dump_fopen(fname, drivername, sizeof drivername);
+ file = h5tools_fopen(fname, drivername, sizeof drivername);
+
if (file>=0) {
if (verbose_g) {
printf("Opened \"%s\" with %s driver.\n",