Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wmem_scopes.h
Go to the documentation of this file.
1
12#ifndef __WMEM_SCOPES_H__
13#define __WMEM_SCOPES_H__
14
15#include <wsutil/wmem/wmem.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
26WS_DLL_PUBLIC
28wmem_epan_scope(void);
29
35WS_DLL_PUBLIC
37wmem_file_scope(void);
38
39WS_DLL_LOCAL
40void
41wmem_enter_file_scope(void);
42
43WS_DLL_LOCAL
44void
45wmem_leave_file_scope(void);
46
47/* Scope Management */
48
49WS_DLL_PUBLIC
50void
51wmem_init_scopes(void);
52
53WS_DLL_PUBLIC
54void
55wmem_cleanup_scopes(void);
56
57#ifdef __cplusplus
58}
59#endif /* __cplusplus */
60
61#endif /* __WMEM_SCOPES_H__ */
62
63/*
64 * Editor modelines - https://www.wireshark.org/tools/modelines.html
65 *
66 * Local variables:
67 * c-basic-offset: 4
68 * tab-width: 8
69 * indent-tabs-mode: nil
70 * End:
71 *
72 * vi: set shiftwidth=4 tabstop=8 expandtab:
73 * :indentSize=4:tabSize=8:noTabs=true:
74 */
Definition wmem_allocator.h:27
WS_DLL_PUBLIC wmem_allocator_t * wmem_file_scope(void)
Fetch the current file scope.
Definition wmem_scopes.c:45
WS_DLL_PUBLIC wmem_allocator_t * wmem_epan_scope(void)
Fetch the current epan scope.
Definition wmem_scopes.c:76