diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2002-04-11 21:28:59 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2002-04-11 21:28:59 (GMT) |
commit | f368891ac839f5b6e20d717b586fc14afa194f3b (patch) | |
tree | 47d8cfd3a20bab35639a576c74e592c28feb0fbd /src/H5Dpublic.h | |
parent | 03520e73ed215adb28cad26fecdaf60ec7514355 (diff) | |
download | hdf5-f368891ac839f5b6e20d717b586fc14afa194f3b.zip hdf5-f368891ac839f5b6e20d717b586fc14afa194f3b.tar.gz hdf5-f368891ac839f5b6e20d717b586fc14afa194f3b.tar.bz2 |
[svn-r5168]
Purpose:
H5Dset_extent API function
Description:
1 new public function: H5Dset_extent, that allows shrinking a dataset
several private functions that free the previously allocated chunks
H5F_istore_prune_by_extent, H5B_prune_by_extent : removes the chunks
H5F_istore_initialize_by_extent : initializes them with the fill value
H5S_select_fill is used to fill the selection in the memory buffer
Platforms tested:
Windows 2000
SUN( arabica)
LINUX (eirene)
IRIX64 (modi4)
Diffstat (limited to 'src/H5Dpublic.h')
-rw-r--r-- | src/H5Dpublic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Dpublic.h b/src/H5Dpublic.h index 41e479d..66b6b2f 100644 --- a/src/H5Dpublic.h +++ b/src/H5Dpublic.h @@ -52,7 +52,6 @@ __DLL__ herr_t H5Dread (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, __DLL__ herr_t H5Dwrite (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t plist_id, const void *buf); __DLL__ herr_t H5Dextend (hid_t dset_id, const hsize_t *size); -__DLL__ herr_t H5Dset_extend (hid_t dset_id, const hsize_t *size); __DLL__ herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data); __DLL__ herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf); @@ -60,6 +59,9 @@ __DLL__ herr_t H5Dvlen_get_buf_size(hid_t dataset_id, hid_t type_id, hid_t space __DLL__ herr_t H5Dfill(const void *fill, hid_t fill_type, void *buf, hid_t buf_type, hid_t space); __DLL__ herr_t H5Ddebug(hid_t dset_id, unsigned int flags); +/*pvn*/ +__DLL__ herr_t H5Dset_extent (hid_t dset_id, const hsize_t *size); + #ifdef __cplusplus } |