diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-05 19:29:09 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-05 19:29:09 (GMT) |
commit | 7f99a80b0abee64d09ada9be749196cf8185eaf2 (patch) | |
tree | aa50771017835e0be9617240cdcb63c09504ae49 /src/H5Dprivate.h | |
parent | 14aaec71d7fe418fa6abb1b5c0ff92e092a77835 (diff) | |
download | hdf5-7f99a80b0abee64d09ada9be749196cf8185eaf2.zip hdf5-7f99a80b0abee64d09ada9be749196cf8185eaf2.tar.gz hdf5-7f99a80b0abee64d09ada9be749196cf8185eaf2.tar.bz2 |
[svn-r8482] Purpose:
Code cleanup
Description:
Refactored data transform code to reduce amount of symbols in the global
scope and also cleaned up & simplified the code a bit.
Platforms tested:
h5committest (minus copper, plus serial modi4)
FreeBSD 4.9 (sleipnir) w & w/o parallel
Diffstat (limited to 'src/H5Dprivate.h')
-rw-r--r-- | src/H5Dprivate.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Dprivate.h b/src/H5Dprivate.h index 5489659..63532c8 100644 --- a/src/H5Dprivate.h +++ b/src/H5Dprivate.h @@ -24,6 +24,7 @@ /* Private headers needed by this file */ #include "H5FDprivate.h" /* File drivers */ #include "H5Oprivate.h" /* Object headers */ +#include "H5Zprivate.h" /* Data filters */ /* * Feature: Define H5D_DEBUG on the compiler command line if you want to @@ -75,13 +76,12 @@ /* ======== Data transfer properties ======== */ /* Definitions for data transform property */ -#define H5D_XFER_XFORM "data_transform" +#define H5D_XFER_XFORM_NAME "data_transform" #define H5D_XFER_XFORM_SIZE sizeof(void *) #define H5D_XFER_XFORM_DEF NULL -#define H5D_XFER_XFORM_SET H5D_xfer_xform_set -#define H5D_XFER_XFORM_DEL H5D_xfer_xform_del -#define H5D_XFER_XFORM_COPY H5D_xfer_xform_copy -#define H5D_XFER_XFORM_CLOSE H5D_xfer_xform_close +#define H5D_XFER_XFORM_DEL H5D_xfer_xform_del +#define H5D_XFER_XFORM_COPY H5D_xfer_xform_copy +#define H5D_XFER_XFORM_CLOSE H5D_xfer_xform_close /* Definitions for maximum temp buffer size property */ #define H5D_XFER_MAX_TEMP_BUF_NAME "max_temp_buf" @@ -180,7 +180,7 @@ typedef struct H5D_dxpl_cache_t { #endif /*H5_HAVE_PARALLEL*/ H5Z_EDC_t err_detect; /* Error detection info (H5D_XFER_EDC_NAME) */ H5Z_cb_t filter_cb; /* Filter callback function (H5D_XFER_FILTER_CB_NAME) */ - H5Z_data_xform* data_xform_prop; /* Data transform prop (H5D_XFER_XFORM) */ + H5Z_data_xform_t *data_xform_prop; /* Data transform prop (H5D_XFER_XFORM_NAME) */ } H5D_dxpl_cache_t; /* Typedef for cached dataset creation property list information */ |