summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-12-14 19:16:01 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-12-14 19:16:01 (GMT)
commit89f6ef0303907065fbfbbd3c48218a8457149e7e (patch)
tree4b7af80d3478af97da67fb0b411a7c059ae65602 /tools/h5repack/h5repack.h
parent619e6d1cb15ce3e429372571fde9478d4720d491 (diff)
downloadhdf5-89f6ef0303907065fbfbbd3c48218a8457149e7e.zip
hdf5-89f6ef0303907065fbfbbd3c48218a8457149e7e.tar.gz
hdf5-89f6ef0303907065fbfbbd3c48218a8457149e7e.tar.bz2
[svn-r14345] substituted the symbol CD_VALUES , number of filter client data values, for H5Z_COMMON_CD_VALUES
that is defined in the library tested: windows, linux, solaris
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r--tools/h5repack/h5repack.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h
index 018fd5f..a608625 100644
--- a/tools/h5repack/h5repack.h
+++ b/tools/h5repack/h5repack.h
@@ -19,6 +19,8 @@
#include "hdf5.h"
#include "h5trav.h"
+#include "H5Zprivate.h" /* H5Z_COMMON_CD_VALUES */
+
#define H5FOPENERROR "unable to open file"
@@ -51,12 +53,12 @@ typedef struct {
H5Z_FILTER_SCALEOFFSET 6 , scaleoffset compression
*/
-#define CDVALUES 4 /* SZIP returns 4 values */
+
typedef struct {
- H5Z_filter_t filtn; /* filter identification number */
- int cd_values[CDVALUES]; /* filter client data values */
- size_t cd_nelmts; /* filter client number of values */
+ H5Z_filter_t filtn; /* filter identification number */
+ int cd_values[H5Z_COMMON_CD_VALUES]; /* filter client data values */
+ size_t cd_nelmts; /* filter client number of values */
} filter_info_t;
/* chunk lengths along each dimension and rank */