Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
wmem_allocator_strict.h
1 /* wmem_allocator_strict.h
2  * Definitions for the Wireshark Memory Manager Strict Allocator
3  * Copyright 2012, Evan Huus <eapache@gmail.com>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #ifndef __WMEM_ALLOCATOR_STRICT_H__
13 #define __WMEM_ALLOCATOR_STRICT_H__
14 
15 #include "wmem_core.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
20 
21 void
22 wmem_strict_allocator_init(wmem_allocator_t *allocator);
23 
24 void
25 wmem_strict_check_canaries(wmem_allocator_t *allocator);
26 
27 #ifdef __cplusplus
28 }
29 #endif /* __cplusplus */
30 
31 #endif /* __WMEM_ALLOCATOR_STRICT_H__ */
32 
33 /*
34  * Editor modelines - http://www.wireshark.org/tools/modelines.html
35  *
36  * Local variables:
37  * c-basic-offset: 4
38  * tab-width: 8
39  * indent-tabs-mode: nil
40  * End:
41  *
42  * vi: set shiftwidth=4 tabstop=8 expandtab:
43  * :indentSize=4:tabSize=8:noTabs=true:
44  */
Definition: wmem_allocator.h:26