OpenMPI  0.1.1
mpool_base_mem_cb.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * $COPYRIGHT$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 /**
19  * @file
20  */
21 #ifndef MCA_MPOOL_BASE_MEM_CB_H
22 #define MCA_MPOOL_BASE_MEM_CB_H
23 
24 #include "ompi_config.h"
25 
26 #include "opal/mca/mca.h"
27 #include "opal/memoryhooks/memory.h"
28 
29 BEGIN_C_DECLS
30 
31 /*
32  * memory hook callback, called when memory is free'd out from under us
33  */
34  void mca_mpool_base_mem_cb(void* base, size_t size, void* cbdata,
35  bool from_alloc);
36 
37 END_C_DECLS
38 
39 #endif /* MCA_MPOOL_BASE_MEM_CB_H */
40 
41 
42 
Top-level interface for all MCA components.