summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-07-09 21:21:50 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-07-09 21:21:50 (GMT)
commit26d0f66a4530fdfc6c2bafe465a6ce1a9b67604b (patch)
tree62e721ee40ba1678d46634268070e98e443185d9 /src/H5Fprivate.h
parent6ac0688ab4cf54e545703453dc6f1437d9e8d282 (diff)
downloadhdf5-26d0f66a4530fdfc6c2bafe465a6ce1a9b67604b.zip
hdf5-26d0f66a4530fdfc6c2bafe465a6ce1a9b67604b.tar.gz
hdf5-26d0f66a4530fdfc6c2bafe465a6ce1a9b67604b.tar.bz2
[svn-r477] Changed the way file-space allocation for the data part of a dataset.
H5D.c: Created a new function H5D_allocation to do allocation of all datasets. According to the storage layout, it calls the appropriate function. H5Fprivate.h: H5Fistore.c: H5F_istore_allocation now takes a dimension array, (old version used a space pointer) to determine how many chunks to allocate. Changed H5F_istore_get_addr to a private (static) function. No one outside of H5Fistore.c is calling it. Removed three forward declarations now that they are not needed. Tested platform: O2K
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 0245bd9..dd2b5a8 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -494,9 +494,6 @@ typedef struct H5F_t {
struct H5O_layout_t; /*forward decl for prototype arguments */
struct H5O_efl_t; /*forward decl for prototype arguments */
struct H5O_compress_t; /*forward decl for prototype arguments */
-struct H5F_istore_ud1_t; /*forward decl for prototype arguments */
-struct H5S_t; /*forward decl for prototype arguments */
-struct H5D_t; /*forward decl for prototype arguments */
/* library variables */
extern const H5F_create_t H5F_create_dflt;
@@ -543,12 +540,9 @@ herr_t H5F_istore_write(H5F_t *f, const struct H5O_layout_t *layout,
const struct H5O_compress_t *comp,
const hssize_t offset[], const hsize_t size[],
const void *buf);
-herr_t H5F_istore_get_addr (H5F_t *f, const struct H5O_layout_t *layout,
- const hssize_t offset[],
- struct H5F_istore_ud1_t *udata/*out*/);
-herr_t H5F_istore_allocate (struct H5D_t *dataset, H5F_t *f,
+herr_t H5F_istore_allocate (H5F_t *f,
const struct H5O_layout_t *layout,
- const struct H5S_t *space,
+ const hsize_t *space_dim,
const struct H5O_compress_t *comp);
/* Functions that operate on contiguous storage wrt boot block */