summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 03:27:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 03:27:41 (GMT)
commitf0ce4df67f82ee7308ad812a1772079fcb141182 (patch)
treeca5bd1f64a5e705af3efafcae3eb705ad767d97a /src/H5Oprivate.h
parentccc0d85878139e0d00a9376af719ca0ee2bea585 (diff)
downloadhdf5-f0ce4df67f82ee7308ad812a1772079fcb141182.zip
hdf5-f0ce4df67f82ee7308ad812a1772079fcb141182.tar.gz
hdf5-f0ce4df67f82ee7308ad812a1772079fcb141182.tar.bz2
[svn-r17272] Description:
Finish pushing contiguous storage size from 'layout' into 'storage" data structure. Tested on: FreeBSD/32 6.3 (duty) w/debug Too minor to require h5committest
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 085557b..d6b3cd0 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -355,6 +355,7 @@ struct H5D_chunk_ops_t; /* Defined in H5Dpkg.h */
typedef struct H5O_storage_contig_t {
haddr_t addr; /* File address of data */
+ hsize_t size; /* Size of data in bytes */
} H5O_storage_contig_t;
typedef struct H5O_storage_chunk_t {
@@ -376,10 +377,6 @@ typedef struct H5O_storage_t {
} u;
} H5O_storage_t;
-typedef struct H5O_layout_contig_t {
- hsize_t size; /* Size of data in bytes */
-} H5O_layout_contig_t;
-
typedef struct H5O_layout_chunk_btree_t {
H5RC_t *shared; /* Ref-counted shared info for B-tree nodes */
} H5O_layout_chunk_btree_t;
@@ -403,7 +400,6 @@ typedef struct H5O_layout_t {
unsigned version; /* Version of message */
const struct H5D_layout_ops_t *ops; /* Pointer to data layout I/O operations */
union {
- H5O_layout_contig_t contig; /* Information for contiguous layout */
H5O_layout_chunk_t chunk; /* Information for chunked layout */
} u;
H5O_storage_t store; /* Information for storing dataset elements */