Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
wmem_allocator_block.h
1 /* wmem_allocator_block.h
2  * Definitions for the Wireshark Memory Manager Large-Block 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_BLOCK_H__
13 #define __WMEM_ALLOCATOR_BLOCK_H__
14 
15 #include "wmem_core.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
20 
21 void
22 wmem_block_allocator_init(wmem_allocator_t *allocator);
23 
24 /* Exposed only for testing purposes */
25 void
26 wmem_block_verify(wmem_allocator_t *allocator);
27 
28 #ifdef __cplusplus
29 }
30 #endif /* __cplusplus */
31 
32 #endif /* __WMEM_ALLOCATOR_BLOCK_H__ */
33 
34 /*
35  * Editor modelines - http://www.wireshark.org/tools/modelines.html
36  *
37  * Local variables:
38  * c-basic-offset: 4
39  * tab-width: 8
40  * indent-tabs-mode: nil
41  * End:
42  *
43  * vi: set shiftwidth=4 tabstop=8 expandtab:
44  * :indentSize=4:tabSize=8:noTabs=true:
45  */
Definition: wmem_allocator.h:26