diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-08-24 12:30:56 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-08-26 15:04:28 +0000 |
commit | e234ce8804e6d27656d5db332ea521392be7d25f (patch) | |
tree | 3b5a3001b3ea56e40baff5eec7bc4b4e033ec83e /file.h | |
parent | f7e9a795a8575c8170346e878b898efe1e5be304 (diff) |
Rework tapping in Qt dialogs.
Add cf_cb_file_retap_started and cf_cb_file_retap_finished to file.[ch].
Add their associated signals to CaptureFile.
Add registerTapListener and removeTapListeners to WiresharkDialog, which
collect and automatically remove tap listeners. Add beginRetapPackets
and endRetapPackets, which can be used to wrap critical sections so that
we don't delete ourselves while tapping. Don't cancel tapping on close
in WiresharkDialog.
Use beginRetapPackets and endRetapPackets in WiresharkDialog and
FollowStreamDialog. We will likely need to add them elsewhere.
Update comments.
Change-Id: I1788a6ade0817c31aa3419216df96be5e36b2178
Reviewed-on: https://code.wireshark.org/review/10261
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,6 +71,8 @@ typedef enum { cf_cb_file_reload_finished, cf_cb_file_rescan_started, cf_cb_file_rescan_finished, + cf_cb_file_retap_started, + cf_cb_file_retap_finished, cf_cb_file_fast_save_finished, cf_cb_packet_selected, cf_cb_packet_unselected, |