aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-15 23:15:32 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-15 23:15:32 +0000
commit2e98c9711896ecacd04b06fae7db64d459017489 (patch)
tree2ded4406bc7e6b450f3343578676d57a2107faaa /capture.h
parent14509164fc753f181512bd8b09eabbc8409b7199 (diff)
Don't pop up tap windows specified with "-z" options until we have a
capture file open. svn path=/trunk/; revision=8480
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/capture.h b/capture.h
index 33287a30a8..b4ce1fb26a 100644
--- a/capture.h
+++ b/capture.h
@@ -1,13 +1,12 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.35 2003/05/15 13:33:53 deniel Exp $
+ * $Id: capture.h,v 1.36 2003/09/15 23:15:31 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -59,8 +58,9 @@ extern int quit_after_cap; /* Makes a "capture only mode". Implies -k */
extern gboolean capture_child; /* if this is the child for "-S" */
/* Open a specified file, or create a temporary file, and start a capture
- to the file in question. */
-void do_capture(const char *save_file);
+ to the file in question. Returns TRUE if the capture starts
+ successfully, FALSE otherwise. */
+gboolean do_capture(const char *save_file);
/* Do the low-level work of a capture. */
int capture(gboolean *stats_known, struct pcap_stat *stats);