diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-12-03 18:15:02 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-12-03 18:15:02 +0000 |
commit | 0a2188eed69c6c6e3000bd17d7da9cc1ea20e7a8 (patch) | |
tree | 8a2f27a371b786e914881b59b3b8cfc8ef4a64fb /capture.h | |
parent | 6674e5bf12f2794ba3b5710ef72b6410e14c5d6e (diff) | |
download | wireshark-0a2188eed69c6c6e3000bd17d7da9cc1ea20e7a8.tar.gz wireshark-0a2188eed69c6c6e3000bd17d7da9cc1ea20e7a8.tar.bz2 wireshark-0a2188eed69c6c6e3000bd17d7da9cc1ea20e7a8.zip |
add missing functions (to complete/cleanup of interface):
capture_input_drops
capture_input_error_message
and move the functionality from capture_sync.c to capture.c (just where it belongs)
svn path=/trunk/; revision=16663
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -140,6 +140,16 @@ extern gboolean capture_input_new_file(capture_options *capture_opts, gchar *new extern void capture_input_new_packets(capture_options *capture_opts, int to_read); /** + * Capture child told us, how many dropped packets it counted. + */ +extern void capture_input_drops(capture_options *capture_opts, int dropped); + +/** + * Capture child told us, that an error has occurred while starting the capture. + */ +extern void capture_input_error_message(capture_options *capture_opts, char *error_message); + +/** * Capture child closed it's side ot the pipe, do the required cleanup. */ extern void capture_input_closed(capture_options *capture_opts); |