diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-10-28 17:40:05 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-10-28 17:40:05 (GMT) |
commit | f2b52777f461e1f9e9fcdf9d1dc2520b96746382 (patch) | |
tree | 3bc1eb0612e9ef9599a5f6424fbcce53a4f09090 /tools/h5repack/h5repack.c | |
parent | 10b6bab2abbf239495fa59f459ce0134c9a03bb0 (diff) | |
download | hdf5-f2b52777f461e1f9e9fcdf9d1dc2520b96746382.zip hdf5-f2b52777f461e1f9e9fcdf9d1dc2520b96746382.tar.gz hdf5-f2b52777f461e1f9e9fcdf9d1dc2520b96746382.tar.bz2 |
[svn-r7769] Purpose:
moved h5diff "public API" routines to tools/lib folder
Platforms tested:
linux
solaris 2.7
IRIX
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r-- | tools/h5repack/h5repack.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c index d88196c..fa66ae4 100644 --- a/tools/h5repack/h5repack.c +++ b/tools/h5repack/h5repack.c @@ -21,7 +21,7 @@ -static void print_options(packoptions_t *options); +static void print_options(pack_opt_t *options); /*------------------------------------------------------------------------- * Function: h5repack @@ -44,7 +44,7 @@ static void print_options(packoptions_t *options); */ int h5repack(char* infile, char* outfile, - packoptions_t *options) + pack_opt_t *options) { options->trip=0; @@ -80,10 +80,10 @@ int h5repack(char* infile, *------------------------------------------------------------------------- */ -int h5repack_init (packoptions_t *options, +int h5repack_init (pack_opt_t *options, int verbose) { - memset(options,0,sizeof(packoptions_t)); + memset(options,0,sizeof(pack_opt_t)); options->threshold = 1024; options->verbose = verbose; return (options_table_init(&(options->op_tbl))); @@ -97,7 +97,7 @@ int h5repack_init (packoptions_t *options, *------------------------------------------------------------------------- */ -int h5repack_end (packoptions_t *options) +int h5repack_end (pack_opt_t *options) { return options_table_free(options->op_tbl); } @@ -114,7 +114,7 @@ int h5repack_end (packoptions_t *options) */ int h5repack_addcomp(char* str, - packoptions_t *options) + pack_opt_t *options) { obj_list_t *obj_list=NULL; /*one object list for the -t and -c option entry */ comp_info_t comp; /*compression info for the current -t option entry */ @@ -167,7 +167,7 @@ int h5repack_addcomp(char* str, int h5repack_addchunk(char* str, - packoptions_t *options) + pack_opt_t *options) { obj_list_t *obj_list=NULL; /*one object list for the -t and -c option entry */ @@ -227,7 +227,7 @@ int h5repack_addchunk(char* str, *------------------------------------------------------------------------- */ static -void print_options(packoptions_t *options) +void print_options(pack_opt_t *options) { int i, k, j, has_cp=0, has_ck=0; @@ -339,7 +339,8 @@ void print_options(packoptions_t *options) *------------------------------------------------------------------------- */ -void read_info(char *filename,packoptions_t *options) +void read_info(char *filename, + pack_opt_t *options) { char stype[10]; char comp_info[1024]; |