2 * Definitions for packet capture windows
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@zing.org>
8 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #ifndef __CAPTURE_DLG_H__
27 #define __CAPTURE_DLG_H__
30 * "Capture Options" dialog box.
31 * @ingroup dialog_group
34 /** User requested the "Capture Options" dialog box by menu or toolbar.
36 * @param widget parent widget (unused)
39 void capture_prep_cb(GtkWidget *widget, gpointer data);
41 /** User requested capture start by menu or toolbar.
43 * @param widget parent widget (unused)
46 void capture_start_cb(GtkWidget *widget, gpointer data);
48 /** User requested capture stop by menu or toolbar.
50 * @param widget parent widget (unused)
53 void capture_stop_cb(GtkWidget *widget, gpointer data);
55 /** User requested capture restart by menu or toolbar.
57 * @param widget parent widget (unused)
60 void capture_restart_cb(GtkWidget *widget, gpointer data);
62 /* capture start confirmed by "Save unsaved capture", so do it now */
63 void capture_start_confirmed(void);
65 /** User requested the "Capture Interfaces" dialog box by menu or toolbar.
67 * @param widget parent widget (unused)
71 capture_if_cb(GtkWidget *widget, gpointer data);
73 /** User requested the "Capture Interfaces" dialog box by menu or toolbar.
75 * @param capture_in_progress capture is in progress
78 set_capture_if_dialog_for_capture_in_progress(gboolean capture_in_progress);
80 #endif /* capture_dlg.h */