Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Typedefs | Functions
wmem_list.h File Reference
#include <string.h>
#include <glib.h>
#include "wmem_core.h"

Go to the source code of this file.

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

Definitions for the Wireshark Memory Manager Doubly-Linked List 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