|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Functions | |
| WS_DLL_LOCAL void | wmem_call_callbacks (wmem_allocator_t *allocator, wmem_cb_event_t event) |
| Invoke registered callbacks for a given allocator and event. | |
Definitions for the Wireshark Memory Manager User Callback Internals 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
| WS_DLL_LOCAL void wmem_call_callbacks | ( | wmem_allocator_t * | allocator, |
| wmem_cb_event_t | event | ||
| ) |
Invoke registered callbacks for a given allocator and event.
Triggers all callbacks associated with the specified allocator for the given event. This mechanism allows external components to respond to lifecycle changes or memory events within the wmem system.
| allocator | Pointer to the wmem_allocator_t whose callbacks should be invoked. |
| event | The wmem_cb_event_t indicating the type of event to dispatch. |