diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-09-15 23:15:32 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-09-15 23:15:32 +0000 |
commit | bd4909eb76d5e07417ddce6151fdb2443310b96f (patch) | |
tree | 2ded4406bc7e6b450f3343578676d57a2107faaa /capture.h | |
parent | 00ea980f0e9279d8c696059a5ae00b0d36a9afd5 (diff) |
Don't pop up tap windows specified with "-z" options until we have a
capture file open.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8480 f5534014-38df-0310-8fa8-9805f1628bb7
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); |