regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / wsutil / wmem / wmem_allocator_block.h
blobe7018dfb1af0a9a8e65bc1cff5596fe5ffbb1879
1 /** @file
3 * Definitions for the Wireshark Memory Manager Large-Block Allocator
4 * Copyright 2012, Evan Huus <eapache@gmail.com>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __WMEM_ALLOCATOR_BLOCK_H__
14 #define __WMEM_ALLOCATOR_BLOCK_H__
16 #include "wmem_core.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
22 void
23 wmem_block_allocator_init(wmem_allocator_t *allocator);
25 /* Exposed only for testing purposes */
26 void
27 wmem_block_verify(wmem_allocator_t *allocator);
29 #ifdef __cplusplus
31 #endif /* __cplusplus */
33 #endif /* __WMEM_ALLOCATOR_BLOCK_H__ */
36 * Editor modelines - https://www.wireshark.org/tools/modelines.html
38 * Local variables:
39 * c-basic-offset: 4
40 * tab-width: 8
41 * indent-tabs-mode: nil
42 * End:
44 * vi: set shiftwidth=4 tabstop=8 expandtab:
45 * :indentSize=4:tabSize=8:noTabs=true: