More shuffling of GTK-related routines to gtk subdirectory.
[obnox/wireshark/wip.git] / globals.h
1 #ifndef __GLOBALS_H__
2 #define __GLOBALS_H__
3
4 #ifndef _STDIO_H_
5 #include <stdio.h>
6 #endif
7
8 #ifndef __PACKET_H__
9 #include "packet.h"
10 #endif
11
12 #ifndef __GTK_H__
13 #include <gtk/gtk.h>
14 #endif
15
16 #ifndef __FILE_H__
17 #include "file.h"
18 #endif
19
20 #ifndef __TIMESTAMP_H__
21 #include "timestamp.h"
22 #endif
23
24 extern FILE        *data_out_file;
25 extern packet_info  pi;
26 extern capture_file cf;
27 extern GtkWidget   *file_sel, *packet_list, *tree_view, *byte_view, *prog_bar,
28             *info_bar;
29 extern GdkFont     *m_r_font, *m_b_font;
30 extern guint        main_ctx, file_ctx;
31 extern gint         start_capture;
32 extern gchar        comp_info_str[256];
33 extern gchar       *ethereal_path;
34 extern gchar       *medium_font;
35 extern gchar       *bold_font;
36 extern gchar       *last_open_dir;
37
38 extern ts_type timestamp_type;
39
40 extern GtkStyle *item_style;
41
42 #ifdef HAVE_LIBPCAP
43 extern int sync_mode;   /* allow sync */
44 extern int sync_pipe[2]; /* used to sync father */
45 extern int fork_mode;   /* fork a child to do the capture */
46 extern int sigusr2_received;
47 extern int quit_after_cap; /* Makes a "capture only mode". Implies -k */
48 #endif
49
50 #define PF_DIR ".ethereal"
51
52 #endif