aboutsummaryrefslogtreecommitdiffstats
path: root/globals.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-02 19:24:27 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-02 19:24:27 +0000
commit33955595327763c20f4113fee9aa8d9ff6a06db5 (patch)
treed5c9886cf4a5f44e86641f7ac287dc4abe102bda /globals.h
parent3d597048777b2fc444795b46e5d5024aa30462d1 (diff)
Move the declaration of global variables involved with packet capture
from "globals.h" to "capture.h". Only "capture.c" needs to include <pcap.h>; move the include of <pcap.h> from "capture.h" to "capture.c". We no longer need any DLT_ defines (that's handled inside Wiretap); remove the defines of DLT_ from "capture.h". svn path=/trunk/; revision=753
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/globals.h b/globals.h
index 3fee9ae..873d4fc 100644
--- a/globals.h
+++ b/globals.h
@@ -1,7 +1,7 @@
/* globals.h
* Global defines, etc.
*
- * $Id: globals.h,v 1.9 1999/09/30 06:49:54 guy Exp $
+ * $Id: globals.h,v 1.10 1999/10/02 19:24:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -101,14 +101,6 @@ 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 quit_after_cap; /* Makes a "capture only mode". Implies -k */
-extern gboolean capture_child; /* if this is the child for "-F"/"-S" */
-#endif
-
#define PF_DIR ".ethereal"
#endif