summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-01-31 20:21:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-01-31 20:21:43 (GMT)
commit2aa344d77a31f8fb692d25fc3adc6ed668184d72 (patch)
tree4d8aaeb54926bf169d687ddcc26ad20ee7deeaf5 /src/H5Oprivate.h
parent2d74d46d3fe259ed51b2b996b56559563999e852 (diff)
downloadhdf5-2aa344d77a31f8fb692d25fc3adc6ed668184d72.zip
hdf5-2aa344d77a31f8fb692d25fc3adc6ed668184d72.tar.gz
hdf5-2aa344d77a31f8fb692d25fc3adc6ed668184d72.tar.bz2
[svn-r16393] Description:
Connect extensible array as index for 1-D unlimited datasets (although datasets w/filters are not yet supported). Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index cc88bdc..3a00491 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -361,6 +361,14 @@ typedef struct H5O_layout_chunk_btree_t {
H5RC_t *shared; /* Ref-counted shared info for B-tree nodes */
} H5O_layout_chunk_btree_t;
+/* Forward declaration of structs used below */
+struct H5EA_t; /* Defined in H5EAprivate.h */
+
+typedef struct H5O_layout_chunk_earray_t {
+ haddr_t addr; /* File address of extensible array */
+ struct H5EA_t *ea; /* Pointer to extensible array struct */
+} H5O_layout_chunk_earray_t;
+
typedef struct H5O_layout_chunk_t {
H5D_chunk_index_t idx_type; /* Type of chunk index */
unsigned ndims; /* Num dimensions in chunk */
@@ -369,6 +377,7 @@ typedef struct H5O_layout_chunk_t {
const struct H5D_chunk_ops_t *ops; /* Pointer to chunked layout operations */
union {
H5O_layout_chunk_btree_t btree; /* Information for v1 B-tree index */
+ H5O_layout_chunk_earray_t earray; /* Information for extensible array index */
} u;
} H5O_layout_chunk_t;
@@ -566,6 +575,7 @@ typedef struct {
/* Forward declarations for prototype arguments */
struct H5P_genplist_t;
+struct H5S_t;
/* Object header routines */
H5_DLL herr_t H5O_init(void);
@@ -656,6 +666,8 @@ H5_DLL herr_t H5O_loc_free(H5O_loc_t *loc);
/* Layout operators */
H5_DLL size_t H5O_layout_meta_size(const H5F_t *f, const void *_mesg);
+H5_DLL herr_t H5O_layout_set_latest_version(H5O_layout_t *layout,
+ const struct H5S_t *space);
/* EFL operators */
H5_DLL hsize_t H5O_efl_total_size(H5O_efl_t *efl);