summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2002-04-11 21:28:59 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2002-04-11 21:28:59 (GMT)
commitf368891ac839f5b6e20d717b586fc14afa194f3b (patch)
tree47d8cfd3a20bab35639a576c74e592c28feb0fbd /src/H5Fprivate.h
parent03520e73ed215adb28cad26fecdaf60ec7514355 (diff)
downloadhdf5-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/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 8a77e7a..898da84 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -26,6 +26,7 @@
typedef struct H5F_t H5F_t;
+
/*
* Encode and decode macros for file meta-data.
* Currently, all file meta-data is little-endian.
@@ -391,6 +392,15 @@ __DLL__ hsize_t H5F_istore_allocated(H5F_t *f, unsigned ndims, haddr_t addr);
__DLL__ herr_t H5F_istore_dump_btree(H5F_t *f, FILE *stream, unsigned ndims,
haddr_t addr);
+__DLL__ herr_t H5F_istore_prune_by_extent( H5F_t *f,
+ struct H5O_layout_t *layout,
+ struct H5S_t *space );
+__DLL__ herr_t H5F_istore_initialize_by_extent( H5F_t *f,
+ struct H5O_layout_t *layout,
+ struct H5O_pline_t *pline,
+ struct H5O_fill_t *fill,
+ struct H5S_t *space );
+
/* Functions for allocation/releasing chunks */
__DLL__ void * H5F_istore_chunk_alloc(size_t chunk_size);
__DLL__ void * H5F_istore_chunk_realloc(void *chunk, size_t new_size);