path: root/capture.h
diff options
authorGuy Harris <guy@alum.mit.edu>2012-03-13 08:36:25 +0000
committerGuy Harris <guy@alum.mit.edu>2012-03-13 08:36:25 +0000
commitcd1debf18387d901b09e5ad289bd3795855136e4 (patch)
treeac7084eb09e9147d110cf7269a4730cd55d89a6b /capture.h
parentfd4894c8f8ece9a629ff19b1af409da79b3c5e36 (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')
1 files changed, 2 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index 93ea812ba2..4e742f7b20 100644
--- a/capture.h
+++ b/capture.h
@@ -45,7 +45,8 @@ typedef enum {
- 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,