summaryrefslogtreecommitdiffstats
path: root/src/H5MF.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-06-06 20:25:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-06-06 20:25:35 (GMT)
commit791ab755ac81dc50adabdfe269107722da90f659 (patch)
tree0ff85448b4b81ad38b205e613d4f0eb4e255b83d /src/H5MF.c
parent44db7da08789c0a2c4b82d74f70fbe6b1831eefd (diff)
downloadhdf5-791ab755ac81dc50adabdfe269107722da90f659.zip
hdf5-791ab755ac81dc50adabdfe269107722da90f659.tar.gz
hdf5-791ab755ac81dc50adabdfe269107722da90f659.tar.bz2
[svn-r15171] Description:
Convert the symbol table node metadata cache client to use the new journaling cache callbacks. Also added a 'H5F_t *' parameter to the 'serialize' callback for the journaling cache, which makes the client's job much easier. Various minor coding cleanups, etc. also. 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.5.3 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5MF.c')
-rw-r--r--src/H5MF.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5MF.c b/src/H5MF.c
index 6d44c69..ab62038 100644
--- a/src/H5MF.c
+++ b/src/H5MF.c
@@ -64,7 +64,7 @@
*-------------------------------------------------------------------------
*/
haddr_t
-H5MF_alloc(H5F_t *f, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+H5MF_alloc(const H5F_t *f, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
{
haddr_t ret_value;
@@ -118,7 +118,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5MF_xfree(H5F_t *f, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+H5MF_xfree(const H5F_t *f, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
{
herr_t ret_value=SUCCEED; /* Return value */
@@ -234,7 +234,7 @@ done:
*-------------------------------------------------------------------------
*/
hbool_t
-H5MF_alloc_overflow(H5F_t *f, hsize_t size)
+H5MF_alloc_overflow(const H5F_t *f, hsize_t size)
{
hsize_t space_needed = 0; /* Accumulator variable */
size_t c; /* Local index variable */