aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-07-09 04:18:36 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-07-09 04:18:36 +0000
commit5a7e28ca4645f88850af498a9a28fa5dea0f14b4 (patch)
tree45c8b659a436d5f9f9942e24983e95bbc1430594 /capture.h
parent5617c183683f2e421aa2367cefdcc67f427c5a29 (diff)
Added the ability to create a read-only ethereal, i.e., one that
doesn't link with libpcap, so no packet captures can be made. The "--disable-pcap" option has been added to the configure script. Docs have been updated. And the string buffer size in the simple_dialog() has been doubled so that Johan's e-mail address in the "About" dialogue window doesn't get chopped off. svn path=/trunk/; revision=351
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index 0a91971b30..18ca05a1c0 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.7 1999/06/19 01:14:49 guy Exp $
+ * $Id: capture.h,v 1.8 1999/07/09 04:18:33 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -26,6 +26,12 @@
#ifndef __CAPTURE_H__
#define __CAPTURE_H__
+#ifdef HAVE_LIBPCAP
+
+#ifndef lib_pcap_h
+#include <pcap.h>
+#endif
+
typedef struct _loop_data {
gint go;
gint max;
@@ -39,4 +45,5 @@ typedef struct _loop_data {
void capture_prep_cb(GtkWidget *, gpointer);
void capture(void);
+#endif /* HAVE_LIBPCAP */
#endif /* capture.h */