diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-26 02:32:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-26 02:32:19 +0000 |
commit | d0ac88186d39e6ae2650843acb40cbbed239b170 (patch) | |
tree | 5ef81348bbe1be9f751202477598a4decd3dbba1 /capture.h | |
parent | 347e7a0052fe0610ec105de34efe935c727fd3ce (diff) | |
download | wireshark-d0ac88186d39e6ae2650843acb40cbbed239b170.tar.gz wireshark-d0ac88186d39e6ae2650843acb40cbbed239b170.tar.bz2 wireshark-d0ac88186d39e6ae2650843acb40cbbed239b170.zip |
If dumpcap exits abnormally, report the error.
svn path=/trunk/; revision=32964
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |