HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / wmem / wmem_allocator_strict.h
blob08d185da18fe5d5092534b8be8d26913d18a4c8f
1 /* wmem_allocator_strict.h
2 * Definitions for the Wireshark Memory Manager Strict Allocator
3 * Copyright 2012, Evan Huus <eapache@gmail.com>
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License along
22 * with this program; if not, write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef __WMEM_ALLOCATOR_STRICT_H__
27 #define __WMEM_ALLOCATOR_STRICT_H__
29 #include "wmem_core.h"
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
35 void
36 wmem_strict_allocator_init(wmem_allocator_t *allocator);
38 void
39 wmem_strict_check_canaries(wmem_allocator_t *allocator);
41 #ifdef __cplusplus
43 #endif /* __cplusplus */
45 #endif /* __WMEM_ALLOCATOR_STRICT_H__ */
48 * Editor modelines - http://www.wireshark.org/tools/modelines.html
50 * Local variables:
51 * c-basic-offset: 4
52 * tab-width: 8
53 * indent-tabs-mode: nil
54 * End:
56 * vi: set shiftwidth=4 tabstop=8 expandtab:
57 * :indentSize=4:tabSize=8:noTabs=true: