2 * Definitions for packet capture windows
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.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__
29 extern GtkWidget* airpcap_tb;
32 * "Capture Options" dialog box.
33 * @ingroup dialog_group
36 /** User requested the "Capture Options" dialog box by menu or toolbar.
38 * @param widget parent widget (unused)
41 void capture_prep_cb(GtkWidget *widget, gpointer data);
43 /** User requested capture start by menu or toolbar.
45 * @param widget parent widget (unused)
48 void capture_start_cb(GtkWidget *widget, gpointer data);
50 /** User requested capture stop by menu or toolbar.
52 * @param widget parent widget (unused)
55 void capture_stop_cb(GtkWidget *widget, gpointer data);
57 /** User requested capture restart by menu or toolbar.
59 * @param widget parent widget (unused)
62 void capture_restart_cb(GtkWidget *widget, gpointer data);
64 /* capture start confirmed by "Save unsaved capture", so do it now */
65 void capture_start_confirmed(void);
67 /** User requested the "Capture Interfaces" dialog box by menu or toolbar.
69 * @param widget parent widget (unused)
73 capture_if_cb(GtkWidget *widget, gpointer data);
75 /** User requested the "Capture Airpcap" dialog box by menu or toolbar.
77 * @param widget parent widget (unused)
81 capture_air_cb(GtkWidget *widget, gpointer data);
83 /** User requested the "Capture Interfaces" dialog box by menu or toolbar.
85 * @param capture_in_progress capture is in progress
88 set_capture_if_dialog_for_capture_in_progress(gboolean capture_in_progress);
90 #endif /* capture_dlg.h */