yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
heapchk.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
4 *
5 * Unless required by applicable law or agreed to in writing,
6 * software distributed under the License is distributed on an
7 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 * KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations
10 * under the License.
11 */
12#ifndef _H_heapchk
13#define _H_heapchk
14
15/* FILE: heapchk.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
27/*********************************************************************
28* *
29* C H A N G E H I S T O R Y *
30* *
31*********************************************************************
32
33date init comment
34----------------------------------------------------------------------
352013-01-14 mts begun
36
37*********************************************************************/
38
39#ifndef _H_log
40#include "log.h"
41#endif
42
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
48/********************************************************************
49* *
50* F U N C T I O N S *
51* *
52*********************************************************************/
53
54extern uint heapcheck_bad_csum_cnt;
55
56/********************************************************************
57* *
58* F U N C T I O N S *
59* *
60*********************************************************************/
61
76extern void heapcheck_init (void);
77
85extern void heapcheck_report (boolean use_logger,
86 log_debug_t level,
87 const char *label);
88
94extern void heapcheck_set_hold_free (boolean hold);
95
101extern void heapcheck_release_held_free (boolean hold);
102
103#ifdef HEAP_CHECKING
104 //extern void *malloc_checker ( size_t size ); /* Defined by procdefs.h */
105 //extern void free_checker ( void *usrP ); /* Defined by procdefs.h */
106extern void check_all_checksums( void );
107#endif
108
109
112#ifdef __cplusplus
113} /* end extern 'C' */
114#endif
115
116#endif /* _H_heapchk */
log_debug_t
The debug level enumerations used in util/log.c.
Definition: log.h:348
void heapcheck_init(void)
Initialize heap checking module.
void heapcheck_report(boolean use_logger, log_debug_t level, const char *label)
Generate a heap check report.
void heapcheck_set_hold_free(boolean hold)
Internal function do not use.
void heapcheck_release_held_free(boolean hold)
Internal release held free Do not use.
NCX System Logging Manager.