5 * Routines to modify dissector tables on the fly.
7 * By David Hampton <dhampton@mac.com>
8 * Copyright 2001 David Hampton
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #ifndef __DECODE_AS_DLG_H__
27 #define __DECODE_AS_DLG_H__
30 * "Decode As" / "User Specified Decodes" dialog box.
31 * @ingroup dialog_group
34 /** Init the "Decode As" module
36 void decode_as_init(void);
38 /** User requested the "Decode As" dialog box by menu or toolbar.
40 * @param widget parent widget (unused)
43 void decode_as_cb(GtkWidget *widget, gpointer data);
45 /** User requested the "User Specified Decodes" dialog box by menu or toolbar.
47 * @param widget parent widget (unused)
50 void decode_show_cb(GtkWidget *widget, gpointer data);
52 /** Have any pages in the notebook in a "Decode As" dialog box? If there
53 * wouldn't be, we inactivate the menu item for "Decode As".
55 * @return TRUE, if we have at least one notebook page in "Decode As"
57 gboolean decode_as_ok(void);