Squelch an MSVC++ complaint.
[obnox/wireshark/wip.git] / capture.h
index bc65142e321aa577765fed3e60c397317c16cc72..b755dc285ac6a9d15768fc2816238c99e871d816 100644 (file)
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
 /* capture.h
  * Definitions for packet capture windows
  *
- * $Id: capture.h,v 1.24 2000/10/11 06:01:14 guy Exp $
+ * $Id: capture.h,v 1.26 2001/04/13 14:59:28 jfoster Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -31,8 +31,6 @@
 /* Name we give to the child process when doing a "-S" capture. */
 #define        CHILD_NAME      "ethereal-capture"
 
-extern int promisc_mode; /* capture in promiscuous mode */
-extern int sync_mode;  /* fork a child to do the capture, and sync between them */
 extern int sync_pipe[2]; /* used to sync father */
 extern int quit_after_cap; /* Makes a "capture only mode". Implies -k */
 extern gboolean capture_child; /* if this is the child for "-S" */
@@ -42,7 +40,7 @@ extern gboolean capture_child;        /* if this is the child for "-S" */
 void   do_capture(char *capfile_name);
 
 /* Do the low-level work of a capture. */
-int    capture(void);
+int    capture(gboolean *stats_known, struct pcap_stat *stats);
 
 /* Stop a capture from a menu item. */
 void   capture_stop(void);