Debian Codegraph @

dune/uggrid/parallel/ddd/include/memmgr.h

raw
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 // SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
4 // SPDX-License-Identifier: LGPL-2.1-or-later
5 /****************************************************************************/
6 /* */
7 /* File: memmgr.h */
8 /* */
9 /* Purpose: header file for ddd memory management interface */
10 /* */
11 /* Author: Klaus Birken */
12 /* Rechenzentrum Uni Stuttgart */
13 /* Universitaet Stuttgart */
14 /* Allmandring 30 */
15 /* 70550 Stuttgart */
16 /* internet: [email protected] */
17 /* */
18 /* */
19 /* History: 94/04/27 kb begin */
20 /* */
21 /* Remarks: */
22 /* */
23 /****************************************************************************/
24
25
26 /****************************************************************************/
27 /* */
28 /* auto include mechanism and other include files */
29 /* */
30 /****************************************************************************/
31
32 #ifndef __MEMMGR__
33 #define __MEMMGR__
34
35 #include <dune/uggrid/low/namespace.h>
36
37 START_UGDIM_NAMESPACE
38
39 /****************************************************************************/
40 /* */
41 /* function declarations */
42 /* */
43 /****************************************************************************/
44
45 void *memmgr_AllocOMEM (size_t size, int Typeid, int prio, int attr);
46 void memmgr_FreeOMEM (void *mem, size_t size, int Typeid);
47
48 void *memmgr_AllocPMEM (long unsigned int size);
49 void memmgr_FreePMEM (void *mem);
50
51 void *memmgr_AllocAMEM (long unsigned int size);
52 void memmgr_FreeAMEM (void *mem);
53
54 void *memmgr_AllocTMEM (long unsigned int size, int kind);
55 void memmgr_FreeTMEM (void *mem, int kind);
56
57 END_UGDIM_NAMESPACE
58
59 #endif