aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-09 04:18:36 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-09 04:18:36 +0000
commitcfce9d4e58cc4d11aa54bbaca0e0d53c0f0aa898 (patch)
tree45c8b659a436d5f9f9942e24983e95bbc1430594 /capture.h
parente98c9ae5d4622ab43c1d5bd361cc821a34c37eb8 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@351 f5534014-38df-0310-8fa8-9805f1628bb7
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 */