diff options
Diffstat (limited to 'src/H5MVprivate.h')
-rw-r--r-- | src/H5MVprivate.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/H5MVprivate.h b/src/H5MVprivate.h new file mode 100644 index 0000000..2c0e95a --- /dev/null +++ b/src/H5MVprivate.h @@ -0,0 +1,58 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Copyright by The HDF Group. * + * Copyright by the Board of Trustees of the University of Illinois. * + * All rights reserved. * + * * + * This file is part of HDF5. The full HDF5 copyright notice, including * + * terms governing use, modification, and redistribution, is contained in * + * the COPYING file, which can be found at the root of the source code * + * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. * + * If you do not have access to either file, you may request a copy from * + * help@hdfgroup.org. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/*------------------------------------------------------------------------- + * + * Created: H5MVprivate.h + * + * Purpose: Private header file for file memory management. + * + *------------------------------------------------------------------------- + */ +#ifndef _H5MVprivate_H +#define _H5MVprivate_H + +/* Private headers needed by this file */ +#include "H5Fprivate.h" /* File access */ + +/**************************/ +/* Library Private Macros */ +/**************************/ + + +/****************************/ +/* Library Private Typedefs */ +/****************************/ + + +/*****************************/ +/* Library-private Variables */ +/*****************************/ + + +/***************************************/ +/* Library-private Function Prototypes */ +/***************************************/ + +/* File space manager routines */ + +H5_DLL herr_t H5MV_close(H5F_t *f); + +/* File space allocation routines */ +H5_DLL haddr_t H5MV_alloc(H5F_t *f, hsize_t size); +H5_DLL herr_t H5MV_free(H5F_t *f, haddr_t addr, hsize_t size); +H5_DLL herr_t H5MV_try_extend(H5F_t *f, haddr_t addr, hsize_t size, hsize_t extra_requested); +H5_DLL htri_t H5MV_try_shrink(H5F_t *f, haddr_t addr, hsize_t size); + +#endif /* end _H5MVprivate_H */ + |