Get the build going.
[obnox/wireshark/wip.git] / gtk / decode_as_dlg.h
1 /* decode_as_dlg.h
2  *
3  * $Id$
4  *
5  * Routines to modify dissector tables on the fly.
6  *
7  * By David Hampton <dhampton@mac.com>
8  * Copyright 2001 David Hampton
9  *
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.
14  *
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.
19  *
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.
23  *
24  */
25
26 #ifndef __DECODE_AS_DLG_H__
27 #define __DECODE_AS_DLG_H__
28
29 /** @file
30  *  "Decode As" / "User Specified Decodes" dialog box.
31  *  @ingroup dialog_group
32  */
33
34 /** Init the "Decode As" module
35  */
36 void decode_as_init(void);
37
38 /** User requested the "Decode As" dialog box by menu or toolbar.
39  *
40  * @param widget parent widget (unused)
41  * @param data unused
42  */
43 void decode_as_cb(GtkWidget *widget, gpointer data);
44
45 /** User requested the "User Specified Decodes" dialog box by menu or toolbar.
46  *
47  * @param widget parent widget (unused)
48  * @param data unused
49  */
50 void decode_show_cb(GtkWidget *widget, gpointer data);
51
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".
54  *
55  * @return TRUE, if we have at least one notebook page in "Decode As"
56  */
57 gboolean decode_as_ok(void);
58
59 #endif