diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-15 23:15:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-15 23:15:32 +0000 |
commit | 2e98c9711896ecacd04b06fae7db64d459017489 (patch) | |
tree | 2ded4406bc7e6b450f3343578676d57a2107faaa /capture.h | |
parent | 14509164fc753f181512bd8b09eabbc8409b7199 (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.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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); |