Wireshark  4.3.0
The Wireshark network protocol analyzer
Macros | Typedefs | Functions

Macros

#define wmem_stack_count(X)   wmem_list_count(X)
 
#define wmem_stack_push(STACK, DATA)   wmem_list_prepend((STACK), (DATA))
 
#define wmem_stack_new(ALLOCATOR)   wmem_list_new(ALLOCATOR)
 
#define wmem_destroy_stack(STACK)   wmem_destroy_list(STACK)
 

Typedefs

typedef wmem_list_t wmem_stack_t
 

Functions

WS_DLL_PUBLIC void * wmem_stack_peek (const wmem_stack_t *stack)
 
WS_DLL_PUBLIC void * wmem_stack_pop (wmem_stack_t *stack)
 

Detailed Description

A stack implementation on top of wmem.