| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Typedefs | Enumerations | Functions
wmem_user_cb.h File Reference
`#include <glib.h>`

Go to the source code of this file.

## Typedefs
typedef enum _wmem_cb_event_t | wmem_cb_event_t
typedef bool(* | wmem_user_cb_t) (wmem_allocator_t *, wmem_cb_event_t, void *)
| Function signature for registered user callbacks.

## Enumerations
enum | _wmem_cb_event_t { WMEM_CB_FREE_EVENT , WMEM_CB_DESTROY_EVENT }

## Functions
WS_DLL_PUBLIC unsigned | wmem_register_callback (wmem_allocator_t *allocator, wmem_user_cb_t callback, void *user_data)
| Register a callback function with the given allocator pool.
WS_DLL_PUBLIC void | wmem_unregister_callback (wmem_allocator_t *allocator, unsigned id)
| Unregister the callback function with the given ID.

## Detailed Description

Definitions for the Wireshark Memory Manager User Callbacks 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