diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-14 17:45:20 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-14 17:45:20 (GMT) |
commit | 62a9b30a6465db12dd9ee552045cca9d95a40bc3 (patch) | |
tree | 7e6da96371a5b1dabda578adaae72ce2758eb86f /tools/h5repack/h5repack_copy.c | |
parent | 727f26263fd42303314a1e9b2c074205500f9b07 (diff) | |
download | hdf5-62a9b30a6465db12dd9ee552045cca9d95a40bc3.zip hdf5-62a9b30a6465db12dd9ee552045cca9d95a40bc3.tar.gz hdf5-62a9b30a6465db12dd9ee552045cca9d95a40bc3.tar.bz2 |
[svn-r8060] Purpose:
added a usage message for h5repack
Description:
Solution:
Platforms tested:
linux
solaris
AIX
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 6b5a393..be263ae 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -20,7 +20,7 @@ #include "h5repack.h" /*------------------------------------------------------------------------- - * Function: copy_file + * Function: copy_objects * * Purpose: duplicate all HDF5 objects in the file * @@ -33,9 +33,9 @@ *------------------------------------------------------------------------- */ -int copy_file(const char* fnamein, - const char* fnameout, - pack_opt_t *options) +int copy_objects(const char* fnamein, + const char* fnameout, + pack_opt_t *options) { hid_t fidin; hid_t fidout; @@ -81,7 +81,7 @@ int copy_file(const char* fnamein, * do the copy *------------------------------------------------------------------------- */ - if(do_copy_file(fidin,fidout,travt,options)<0) { + if(do_copy_objects(fidin,fidout,travt,options)<0) { printf("h5repack: <%s>: Could not copy data to: %s\n", fnamein, fnameout); goto out; } @@ -127,7 +127,7 @@ out: /*------------------------------------------------------------------------- - * Function: do_copy_file + * Function: do_copy_objects * * Purpose: duplicate all HDF5 objects in the file * @@ -140,10 +140,10 @@ out: *------------------------------------------------------------------------- */ -int do_copy_file(hid_t fidin, - hid_t fidout, - trav_table_t *travt, - pack_opt_t *options) /* repack options */ +int do_copy_objects(hid_t fidin, + hid_t fidout, + trav_table_t *travt, + pack_opt_t *options) /* repack options */ { hid_t grp_in; /* group ID */ hid_t grp_out; /* group ID */ |