summaryrefslogtreecommitdiff
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-12-03 18:15:02 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-12-03 18:15:02 +0000
commit0a2188eed69c6c6e3000bd17d7da9cc1ea20e7a8 (patch)
tree8a2f27a371b786e914881b59b3b8cfc8ef4a64fb /capture.h
parent6674e5bf12f2794ba3b5710ef72b6410e14c5d6e (diff)
downloadwireshark-0a2188eed69c6c6e3000bd17d7da9cc1ea20e7a8.tar.gz
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/capture.h b/capture.h
index ce90327acb..14e27345f8 100644
--- a/capture.h
+++ b/capture.h
@@ -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);