diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-10-01 21:52:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-10-01 21:52:03 +0000 |
commit | 60f385ac019e440d7892bd83c7ecfe6787d6b02a (patch) | |
tree | a5d9efd365ced045a3f1be17adab3464cb1d7724 /gtk | |
parent | 056ae6eb5e277c48141771482fd01c6d7ba2a62d (diff) |
Move the definitions of "sync_mode", "sync_pipe", "fork_mode",
"quit_after_cap", and "capture_child" from "gtk/main.c" to "capture.c",
so that the definitions don't have to be duplicated in "main.c" for
other UIs if, as, and when we do versions of Ethereal with other UIs.
svn path=/trunk/; revision=746
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gtk/main.c b/gtk/main.c index f7d9400855..4ba85d1885 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1,6 +1,6 @@ /* main.c * - * $Id: main.c,v 1.12 1999/09/30 07:19:35 guy Exp $ + * $Id: main.c,v 1.13 1999/10/01 21:52:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -113,14 +113,6 @@ ts_type timestamp_type = RELATIVE; GtkStyle *item_style; -#ifdef HAVE_LIBPCAP -int sync_mode; /* fork a child to do the capture, and sync between them */ -int sync_pipe[2]; /* used to sync father */ -int fork_mode; /* fork a child to do the capture */ -int quit_after_cap; /* Makes a "capture only mode". Implies -k */ -gboolean capture_child; /* if this is the child for "-F"/"-S" */ -#endif - /* Specifies byte offsets for object selected in tree */ static gint tree_selected_start=-1, tree_selected_len=-1; |