diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-03-13 08:36:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-03-13 08:36:25 +0000 |
commit | cd1debf18387d901b09e5ad289bd3795855136e4 (patch) | |
tree | ac7084eb09e9147d110cf7269a4730cd55d89a6b /capture.h | |
parent | fd4894c8f8ece9a629ff19b1af409da79b3c5e36 (diff) |
Add an explicit capture_cb_capture_failed indication for the case where
we weren't even able to start a capture, rather than delivering a fake
"capture start" indication and relying on a later "capture file closed"
indication - for a capture that was never opened in the first place - to
handle GUI cleanups.
Don't deliver any GUI indications in cf_close() if we didn't have a
capture file open in the first place.
Clear the status bar and welcome header if that indication is delivered.
If we start a capture from the command line with the -k flag, don't show
the captured packet information unless the capture actually starts.
svn path=/trunk/; revision=41521
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -45,7 +45,8 @@ typedef enum { capture_cb_capture_fixed_started, capture_cb_capture_fixed_continue, capture_cb_capture_fixed_finished, - capture_cb_capture_stopping + capture_cb_capture_stopping, + capture_cb_capture_failed } capture_cbs; typedef void (*capture_callback_t) (gint event, capture_options *capture_opts, |