aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capture.c11
-rw-r--r--capture.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/capture.c b/capture.c
index 024315af9c..7fef47e3e9 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.51 1999/08/15 22:16:59 guy Exp $
+ * $Id: capture.c,v 1.52 1999/08/15 22:31:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -415,6 +415,15 @@ capture_prep_close_cb(GtkWidget *close_bt, gpointer parent_w)
gtk_widget_destroy(GTK_WIDGET(parent_w));
}
+typedef struct _loop_data {
+ gint go;
+ gint max;
+ gint linktype;
+ gint sync_packets;
+ packet_counts counts;
+ pcap_dumper_t *pdh;
+} loop_data;
+
void
capture(void) {
GtkWidget *cap_w, *main_vb, *count_lb, *tcp_lb, *udp_lb, *icmp_lb,
diff --git a/capture.h b/capture.h
index ce66a3f787..14555486de 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.11 1999/08/10 11:08:38 deniel Exp $
+ * $Id: capture.h,v 1.12 1999/08/15 22:31:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -32,15 +32,6 @@
#include <pcap.h>
#endif
-typedef struct _loop_data {
- gint go;
- gint max;
- gint linktype;
- gint sync_packets;
- packet_counts counts;
- pcap_dumper_t *pdh;
-} loop_data;
-
void capture_prep_cb(GtkWidget *, gpointer);
void capture(void);