H5MMpublic.h

00001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00002  * Copyright by The HDF Group.                                               *
00003  * Copyright by the Board of Trustees of the University of Illinois.         *
00004  * All rights reserved.                                                      *
00005  *                                                                           *
00006  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007  * terms governing use, modification, and redistribution, is contained in    *
00008  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009  * of the source code distribution tree; Copyright.html can be found at the  *
00010  * root level of an installed copy of the electronic HDF5 document set and   *
00011  * is linked from the top-level documents page.  It can also be found at     *
00012  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00013  * access to either file, you may request a copy from help@hdfgroup.org.     *
00014  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 /*-------------------------------------------------------------------------
00017  *
00018  * Created:             H5MMproto.h
00019  *                      Jul 10 1997
00020  *                      Robb Matzke <matzke@llnl.gov>
00021  *
00022  * Purpose:             Public declarations for the H5MM (memory management)
00023  *                      package.
00024  *
00025  * Modifications:
00026  *
00027  *-------------------------------------------------------------------------
00028  */
00029 #ifndef _H5MMpublic_H
00030 #define _H5MMpublic_H
00031 
00032 /* Public headers needed by this file */
00033 #include "H5public.h"
00034 
00035 /* These typedefs are currently used for VL datatype allocation/freeing */
00036 typedef void *(*H5MM_allocate_t)(size_t size, void *alloc_info);
00037 typedef void (*H5MM_free_t)(void *mem, void *free_info);
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 #endif /* _H5MMpublic_H */
00047