Wireshark-dev: [Wireshark-dev] wireshark_dialog.cpp: how to know if a tap is finished?

From: chuck c <bubbasnmp@xxxxxxxxx>
Date: Mon, 28 Mar 2022 16:46:49 -0500
WiresharkDialog::registerTapListener() didn't get the finish callback.
Is there a mechanism for tapDraw() to know that a tap/retap is still running?

'Add a tap "finish" callback, called when a listener is removed.'

bool WiresharkDialog::registerTapListener(const char *tap_name, void *tap_data, const char *filter, guint flags, void(*tap_reset)(void *), gboolean(*tap_packet)(void *, struct _packet_info *, struct epan_dissect *, const void *), void(*tap_draw)(void *))
{
    GString *error_string = register_tap_listener(tap_name, tap_data, filter, flags,
-                                                  tap_reset, tap_packet, tap_draw);
+                                                  tap_reset, tap_packet, tap_draw, NULL);

thanks
chuckc


[Wireshark-dev] How code recognizes that processing of all packets with tap