RTEMS
malloc_p.h
1 /*
2  * RTEMS Malloc Family Internal Header
3  *
4  * COPYRIGHT (c) 1989-2007.
5  * On-Line Applications Research Corporation (OAR).
6  *
7  * The license and distribution terms for this file may be
8  * found in the file LICENSE in this distribution or at
9  * http://www.rtems.org/license/LICENSE.
10  */
11 
12 #include <rtems.h>
14 #include <rtems/malloc.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
19 
20 typedef enum {
21  MALLOC_SYSTEM_STATE_NORMAL,
22  MALLOC_SYSTEM_STATE_NO_PROTECTION,
23  MALLOC_SYSTEM_STATE_NO_ALLOCATION
24 } Malloc_System_state;
25 
26 Malloc_System_state _Malloc_System_state( void );
27 
28 void _Malloc_Process_deferred_frees( void );
29 
30 #ifdef __cplusplus
31 }
32 #endif /* __cplusplus */
This header file defines the RTEMS Classic API.
Protected Heap Handler API.