Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Typedefs | Functions
Doubly-Linked List

Typedefs

typedef struct _wmem_list_t wmem_list_t
 
typedef struct _wmem_list_frame_t wmem_list_frame_t
 

Functions

WS_DLL_PUBLIC unsigned wmem_list_count (const wmem_list_t *list)
 
WS_DLL_PUBLIC wmem_list_frame_twmem_list_head (const wmem_list_t *list)
 
WS_DLL_PUBLIC wmem_list_frame_twmem_list_tail (const wmem_list_t *list)
 
WS_DLL_PUBLIC wmem_list_frame_twmem_list_frame_next (const wmem_list_frame_t *frame)
 
WS_DLL_PUBLIC wmem_list_frame_twmem_list_frame_prev (const wmem_list_frame_t *frame)
 
WS_DLL_PUBLIC void * wmem_list_frame_data (const wmem_list_frame_t *frame)
 
WS_DLL_PUBLIC void wmem_list_remove (wmem_list_t *list, void *data)
 
WS_DLL_PUBLIC void wmem_list_remove_frame (wmem_list_t *list, wmem_list_frame_t *frame)
 
WS_DLL_PUBLIC wmem_list_frame_twmem_list_find (wmem_list_t *list, const void *data)
 
WS_DLL_PUBLIC wmem_list_frame_twmem_list_find_custom (wmem_list_t *list, const void *data, GCompareFunc func)
 
WS_DLL_PUBLIC void wmem_list_prepend (wmem_list_t *list, void *data)
 
WS_DLL_PUBLIC void wmem_list_append (wmem_list_t *list, void *data)
 
WS_DLL_PUBLIC void wmem_list_insert_sorted (wmem_list_t *list, void *data, GCompareFunc func)
 
WS_DLL_PUBLIC void wmem_list_append_sorted (wmem_list_t *list, void *data, GCompareFunc func)
 
WS_DLL_PUBLIC wmem_list_twmem_list_new (wmem_allocator_t *allocator) G_GNUC_MALLOC
 
WS_DLL_PUBLIC void wmem_list_foreach (wmem_list_t *list, GFunc foreach_func, void *user_data)
 
WS_DLL_PUBLIC void wmem_destroy_list (wmem_list_t *list)
 

Detailed Description

A doubly-linked list implementation on top of wmem.