summaryrefslogtreecommitdiffstats
path: root/src/H5FDmulti.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-08-31 19:33:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-08-31 19:33:58 (GMT)
commit1ec946fac8375b9b5a377c5deb027ed17f364255 (patch)
tree4a75d3d7388a2857763f114eb7b1fe73722a90dd /src/H5FDmulti.c
parent362baf12993da83dc1af12491e3adf0ed9cb8dd9 (diff)
downloadhdf5-1ec946fac8375b9b5a377c5deb027ed17f364255.zip
hdf5-1ec946fac8375b9b5a377c5deb027ed17f364255.tar.gz
hdf5-1ec946fac8375b9b5a377c5deb027ed17f364255.tar.bz2
[svn-r2498] Added new VFL 'query' code and added new 'type of data' parameter to write
call.
Diffstat (limited to 'src/H5FDmulti.c')
-rw-r--r--src/H5FDmulti.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5FDmulti.c b/src/H5FDmulti.c
index 276db2c..b77a695 100644
--- a/src/H5FDmulti.c
+++ b/src/H5FDmulti.c
@@ -123,7 +123,7 @@ static herr_t H5FD_multi_free(H5FD_t *_file, H5FD_mem_t type, haddr_t addr,
hsize_t size);
static herr_t H5FD_multi_read(H5FD_t *_file, hid_t dxpl_id, haddr_t addr,
hsize_t size, void *_buf/*out*/);
-static herr_t H5FD_multi_write(H5FD_t *_file, hid_t dxpl_id, haddr_t addr,
+static herr_t H5FD_multi_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr,
hsize_t size, const void *_buf);
static herr_t H5FD_multi_flush(H5FD_t *_file);
@@ -144,6 +144,7 @@ static const H5FD_class_t H5FD_multi_g = {
H5FD_multi_open, /*open */
H5FD_multi_close, /*close */
H5FD_multi_cmp, /*cmp */
+ NULL, /*query */
H5FD_multi_alloc, /*alloc */
H5FD_multi_free, /*free */
H5FD_multi_get_eoa, /*get_eoa */
@@ -1587,7 +1588,7 @@ H5FD_multi_read(H5FD_t *_file, hid_t dxpl_id, haddr_t addr, hsize_t size,
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_multi_write(H5FD_t *_file, hid_t dxpl_id, haddr_t addr, hsize_t size,
+H5FD_multi_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size,
const void *_buf)
{
H5FD_multi_t *file = (H5FD_multi_t*)_file;
@@ -1618,7 +1619,7 @@ H5FD_multi_write(H5FD_t *_file, hid_t dxpl_id, haddr_t addr, hsize_t size,
assert(hi>0);
/* Write to that member */
- return H5FDwrite(file->memb[hi], dx?dx->memb_dxpl[hi]:H5P_DEFAULT,
+ return H5FDwrite(file->memb[hi], type, dx?dx->memb_dxpl[hi]:H5P_DEFAULT,
addr-start_addr, size, _buf);
}