2 * Definitions for dialog boxes for filter editing
3 * (This used to be a notebook page under "Preferences", hence the
4 * "prefs" in the file name.)
6 * $Id: filter_prefs.h,v 1.11 2001/02/23 05:54:27 guy Exp $
8 * Ethereal - Network traffic analyzer
9 * By Gerald Combs <gerald@zing.org>
10 * Copyright 1998 Gerald Combs
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 * Structure giving properties of the filter editing dialog box to be
36 gchar *title; /* title of dialog box */
37 gboolean wants_apply_button; /* if it should have an Apply button */
38 gboolean activate_on_ok; /* if parent text widget should be
39 activated on "Ok" or "Apply" */
42 void capture_filter_construct_cb(GtkWidget *w, gpointer user_data);
43 void display_filter_construct_cb(GtkWidget *w, gpointer construct_args_ptr);
44 void cfilter_dialog_cb(GtkWidget *w);
45 void dfilter_dialog_cb(GtkWidget *w);
47 #define E_FILT_TE_PTR_KEY "filter_te_ptr"
48 #define E_FILT_CALLER_PTR_KEY "filter_caller_ptr"
49 #define E_FILT_DIALOG_PTR_KEY "filter_dialog_ptr"