regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / wsutil / wmem / wmem_allocator_strict.h
blob014f76fbd7a7ac4606e3369f8143e11ffb49b0a6
1 /** @file
3 * Definitions for the Wireshark Memory Manager Strict 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_STRICT_H__
14 #define __WMEM_ALLOCATOR_STRICT_H__
16 #include "wmem_core.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
22 void
23 wmem_strict_allocator_init(wmem_allocator_t *allocator);
25 void
26 wmem_strict_check_canaries(wmem_allocator_t *allocator);
28 #ifdef __cplusplus
30 #endif /* __cplusplus */
32 #endif /* __WMEM_ALLOCATOR_STRICT_H__ */
35 * Editor modelines - https://www.wireshark.org/tools/modelines.html
37 * Local variables:
38 * c-basic-offset: 4
39 * tab-width: 8
40 * indent-tabs-mode: nil
41 * End:
43 * vi: set shiftwidth=4 tabstop=8 expandtab:
44 * :indentSize=4:tabSize=8:noTabs=true: