summaryrefslogtreecommitdiffstats
path: root/src/H5Dpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-11 22:24:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-11 22:24:35 (GMT)
commit637fa77ea7e720eb7b5a932ceeb0d05beeefb978 (patch)
tree38eb85b7a0489fb9730d86bd042bf402c47bf897 /src/H5Dpkg.h
parente5413fa795c68dda46c11aee4a3615f52377b0df (diff)
downloadhdf5-637fa77ea7e720eb7b5a932ceeb0d05beeefb978.zip
hdf5-637fa77ea7e720eb7b5a932ceeb0d05beeefb978.tar.gz
hdf5-637fa77ea7e720eb7b5a932ceeb0d05beeefb978.tar.bz2
[svn-r14203] Description:
Break up H5D source file into H5D/H5Dint/H5Ddeprec Attempt fix for "szip noencoder" build failure. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r--src/H5Dpkg.h31
1 files changed, 27 insertions, 4 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h
index 1f92bf8..cdcc362 100644
--- a/src/H5Dpkg.h
+++ b/src/H5Dpkg.h
@@ -291,6 +291,18 @@ typedef struct H5D_istore_ud1_t {
haddr_t addr; /*file address of chunk */
} H5D_istore_ud1_t;
+/* Internal data structure for computing variable-length dataset's total size */
+typedef struct {
+ hid_t dataset_id; /* ID of the dataset we are working on */
+ hid_t fspace_id; /* ID of the file dataset's dataspace we are working on */
+ hid_t mspace_id; /* ID of the memory dataset's dataspace we are working on */
+ void *fl_tbuf; /* Ptr to the temporary buffer we are using for fixed-length data */
+ void *vl_tbuf; /* Ptr to the temporary buffer we are using for VL data */
+ hid_t xfer_pid; /* ID of the dataset xfer property list */
+ hsize_t size; /* Accumulated number of bytes for the selection */
+} H5D_vlen_bufsize_t;
+
+
/*****************************/
/* Package Private Variables */
/*****************************/
@@ -306,20 +318,31 @@ H5_DLL H5D_t *H5D_create(H5F_t *file, hid_t type_id, const H5S_t *space,
H5_DLL H5D_t *H5D_create_named(const H5G_loc_t *loc, const char *name,
hid_t type_id, const H5S_t *space, hid_t lcpl_id, hid_t dcpl_id,
hid_t dapl_id, hid_t dxpl_id);
+H5_DLL herr_t H5D_get_space_status(H5D_t *dset, H5D_space_status_t *allocation,
+ hid_t dxpl_id);
H5_DLL herr_t H5D_alloc_storage(H5F_t *f, hid_t dxpl_id, H5D_t *dset, H5D_time_alloc_t time_alloc,
hbool_t update_time, hbool_t full_overwrite);
+H5_DLL hsize_t H5D_get_storage_size(H5D_t *dset, hid_t dxpl_id);
+H5_DLL haddr_t H5D_get_offset(const H5D_t *dset);
+H5_DLL herr_t H5D_iterate(void *buf, hid_t type_id, const H5S_t *space,
+ H5D_operator_t op, void *operator_data);
+H5_DLL void * H5D_vlen_get_buf_size_alloc(size_t size, void *info);
+H5_DLL herr_t H5D_vlen_get_buf_size(void *elem, hid_t type_id, unsigned ndim,
+ const hsize_t *point, void *op_data);
+H5_DLL herr_t H5D_check_filters(H5D_t *dataset);
+H5_DLL herr_t H5D_set_extent(H5D_t *dataset, const hsize_t *size, hid_t dxpl_id);
/* Functions that perform serial I/O operations */
-H5_DLL herr_t H5D_select_fscat (H5D_io_info_t *io_info,
+H5_DLL herr_t H5D_select_fscat(H5D_io_info_t *io_info,
const H5S_t *file_space, H5S_sel_iter_t *file_iter, size_t nelmts,
haddr_t chunk_addr, void *chunk, const void *_buf);
-H5_DLL size_t H5D_select_fgath (H5D_io_info_t *io_info,
+H5_DLL size_t H5D_select_fgath(H5D_io_info_t *io_info,
const H5S_t *file_space, H5S_sel_iter_t *file_iter, size_t nelmts,
haddr_t chunk_addr, void *chunk, void *buf);
-H5_DLL herr_t H5D_select_mscat (const void *_tscat_buf,
+H5_DLL herr_t H5D_select_mscat(const void *_tscat_buf,
const H5S_t *space, H5S_sel_iter_t *iter, size_t nelmts,
const H5D_dxpl_cache_t *dxpl_cache, void *_buf/*out*/);
-H5_DLL size_t H5D_select_mgath (const void *_buf,
+H5_DLL size_t H5D_select_mgath(const void *_buf,
const H5S_t *space, H5S_sel_iter_t *iter, size_t nelmts,
const H5D_dxpl_cache_t *dxpl_cache, void *_tgath_buf/*out*/);
H5_DLL herr_t H5D_select_read(H5D_io_info_t *io_info,