Handle -I in the options processing.
[obnox/wireshark/wip.git] / gtk / expert_dlg.h
1 /* expert_dlg.h
2  * Extracted from:
3  * expert_comp_table   2005 Greg Morris
4  * Portions copied from service_response_time_table.h by Ronnie Sahlberg 
5  * Helper routines to expert statistics
6  * tap.
7  *
8  * $Id$
9  *
10  * Wireshark - Network traffic analyzer
11  * By Gerald Combs <gerald@wireshark.org>
12  * Copyright 1998 Gerald Combs
13  * 
14  * This program is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public License
16  * as published by the Free Software Foundation; either version 2
17  * of the License, or (at your option) any later version.
18  * 
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  * GNU General Public License for more details.
23  * 
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
27  */
28
29 #ifndef __EXPERT_DLG_H__
30 #define __EXPERT_DLG_H__
31 #include <gtk/gtk.h>
32
33 typedef struct expert_tapdata_s {
34         GtkWidget       *win;
35         GtkWidget       *scrolled_window;
36         GtkTreeView *tree_view;
37         GtkWidget       *label;
38         guint32         disp_events;
39         guint32         chat_events;
40         guint32         note_events;
41         guint32         warn_events;
42         guint32         error_events;
43         int             severity_report_level;
44
45         GArray          *ei_array;      /* expert info items */
46         guint           first;
47         guint           last;
48         GStringChunk*   text;           /* summary text */
49 } expert_tapdata_t;
50
51 extern expert_tapdata_t * expert_dlg_new_table(void);
52 extern void expert_dlg_init_table(expert_tapdata_t * etd, GtkWidget *vbox);
53 extern void expert_dlg_reset(void *tapdata);
54 extern int expert_dlg_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *pointer);
55 extern void expert_dlg_draw(void *data);
56 extern void expert_dlg_destroy_cb(GtkWindow *win _U_, gpointer data);
57
58 #endif /* __EXPERT_DLG_H__ */
59