![]() |
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Macros | |
#define | wmem_stack_count(X) wmem_list_count(X) |
Get the number of elements in a wmem stack. | |
#define | wmem_stack_push(STACK, DATA) wmem_list_prepend((STACK), (DATA)) |
Push a data element onto the top of a wmem stack. | |
#define | wmem_stack_new(ALLOCATOR) wmem_list_new(ALLOCATOR) |
Create a new wmem stack using the specified memory allocator. | |
#define | wmem_destroy_stack(STACK) wmem_destroy_list(STACK) |
Destroy a wmem stack and release its internal resources. | |
Typedefs | |
typedef wmem_list_t | wmem_stack_t |
A stack abstraction implemented as a wrapper over wmem_list_t. | |
Functions | |
WS_DLL_PUBLIC void * | wmem_stack_peek (const wmem_stack_t *stack) |
Peek at the top element of a wmem stack without removing it. | |
WS_DLL_PUBLIC void * | wmem_stack_pop (wmem_stack_t *stack) |
Pop the top element from a wmem stack. | |
Definitions for the Wireshark Memory Manager Stack Copyright 2012, Evan Huus eapac.nosp@m.he@g.nosp@m.mail..nosp@m.com
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later