aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-26 02:32:19 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-26 02:32:19 +0000
commitd0ac88186d39e6ae2650843acb40cbbed239b170 (patch)
tree5ef81348bbe1be9f751202477598a4decd3dbba1 /capture.h
parent347e7a0052fe0610ec105de34efe935c727fd3ce (diff)
If dumpcap exits abnormally, report the error.
svn path=/trunk/; revision=32964
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/capture.h b/capture.h
index f3107fc013..b047d46980 100644
--- a/capture.h
+++ b/capture.h
@@ -97,9 +97,10 @@ extern void capture_input_error_message(capture_options *capture_opts, char *err
extern void capture_input_cfilter_error_message(capture_options *capture_opts, char *error_message);
/**
- * Capture child closed its side of the pipe, do the required cleanup.
+ * Capture child closed its side of the pipe, report any error and
+ * do the required cleanup.
*/
-extern void capture_input_closed(capture_options *capture_opts);
+extern void capture_input_closed(capture_options *capture_opts, gchar *msg);
struct if_stat_cache_s;
typedef struct if_stat_cache_s if_stat_cache_t;