summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-09-01 03:04:24 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-09-01 03:04:24 +0000
commit65c3e8d9bf8ad7db047dafcf23b421207d7ebcb1 (patch)
treecbb41410183b9b8851e4a3427a5b1d898505b239 /globals.h
parent25502bc8fca486a9f10f96c35c1d2e4742541259 (diff)
downloadwireshark-65c3e8d9bf8ad7db047dafcf23b421207d7ebcb1.tar.gz
Moved GTK-dependent routines for file dialogues, print dialogues, print
preferences, and menus to gtk subdirectory. svn path=/trunk/; revision=623
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/globals.h b/globals.h
new file mode 100644
index 0000000000..49d46c2a11
--- /dev/null
+++ b/globals.h
@@ -0,0 +1,50 @@
+#ifndef __GLOBALS_H__
+#define __GLOBALS_H__
+
+#ifndef _STDIO_H_
+#include <stdio.h>
+#endif
+
+#ifndef __PACKET_H__
+#include "packet.h"
+#endif
+
+#ifndef __GTK_H__
+#include <gtk/gtk.h>
+#endif
+
+#ifndef __FILE_H__
+#include "file.h"
+#endif
+
+#ifndef __TIMESTAMP_H__
+#include "timestamp.h"
+#endif
+
+extern FILE *data_out_file;
+extern packet_info pi;
+extern capture_file cf;
+extern GtkWidget *file_sel, *packet_list, *tree_view, *byte_view, *prog_bar,
+ *info_bar;
+extern GdkFont *m_r_font, *m_b_font;
+extern guint main_ctx, file_ctx;
+extern gint start_capture;
+extern gchar comp_info_str[256];
+extern gchar *ethereal_path;
+extern gchar *medium_font;
+extern gchar *bold_font;
+extern gchar *last_open_dir;
+
+extern ts_type timestamp_type;
+
+extern GtkStyle *item_style;
+
+#ifdef HAVE_LIBPCAP
+extern int sync_mode; /* allow sync */
+extern int sync_pipe[2]; /* used to sync father */
+extern int fork_mode; /* fork a child to do the capture */
+extern int sigusr2_received;
+extern int quit_after_cap; /* Makes a "capture only mode". Implies -k */
+#endif
+
+#endif