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