dfilter.h \
display.c \
display.h \
- ethereal.c \
- ethereal.h \
ethertype.c \
etypes.h \
file.c \
follow.c \
follow.h \
globals.h \
- gtkpacket.c \
- gtkpacket.h \
packet-aarp.c \
packet-arp.c \
packet-atalk.c \
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.64 1999/09/08 05:41:25 guy Exp $
+ * $Id: capture.c,v 1.65 1999/09/09 02:42:22 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
# include <sys/sockio.h>
#endif
-#include "ethereal.h"
+#include "gtk/main.h"
#include "packet.h"
#include "file.h"
#include "gtk/menu.h"
/* colors.c
* Definitions for color structures and routines
*
- * $Id: colors.c,v 1.6 1999/08/28 23:47:41 gram Exp $
+ * $Id: colors.c,v 1.7 1999/09/09 02:42:23 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include <errno.h>
#include <sys/types.h>
-#include "ethereal.h"
+#include "gtk/main.h"
#include "packet.h"
#include "colors.h"
#include "file.h"
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.86 1999/09/01 03:04:10 gram Exp $
+ * $Id: file.c,v 1.87 1999/09/09 02:42:24 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
# include <netinet/in.h>
#endif
-#include "ethereal.h"
+#include "gtk/main.h"
#include "column.h"
#include "gtk/menu.h"
#include "packet.h"
#include "print.h"
#include "file.h"
#include "util.h"
-#include "gtkpacket.h"
+#include "gtk/proto_draw.h"
#include "dfilter.h"
#include "timestamp.h"
/* filter.c
* Routines for managing filter sets
*
- * $Id: filter.c,v 1.15 1999/09/01 03:04:11 gram Exp $
+ * $Id: filter.c,v 1.16 1999/09/09 02:42:25 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include <direct.h>
#endif
-#include "ethereal.h"
+#include "gtk/main.h"
#include "filter.h"
#include "packet.h"
#include "file.h"
/* follow.c
*
- * $Id: follow.c,v 1.14 1999/07/31 13:55:16 deniel Exp $
+ * $Id: follow.c,v 1.15 1999/09/09 02:42:25 gram Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
#endif
#include <glib.h>
-#include "ethereal.h"
+#include "gtk/main.h"
#include "packet.h"
#include "follow.h"
gtkdnd.h \
gtkmain.h \
keys.h \
+ main.c \
+ main.h \
menu.c \
menu.h \
print_dlg.c \
print_prefs.c \
- print_prefs.h
+ print_prefs.h \
+ proto_draw.c \
+ proto_draw.h
/* ethereal.c
*
- * $Id: ethereal.c,v 1.110 1999/09/01 03:04:09 gram Exp $
+ * $Id: main.c,v 1.1 1999/09/09 02:42:39 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "strerror.h"
#endif
-#include "ethereal.h"
+#include "main.h"
#include "timestamp.h"
#include "packet.h"
#include "capture.h"
#include "summary.h"
#include "file.h"
-#include "gtk/menu.h"
+#include "menu.h"
#include "prefs.h"
#include "column.h"
#include "print.h"
#include "resolv.h"
#include "follow.h"
#include "util.h"
-#include "gtkpacket.h"
+#include "proto_draw.h"
#include "dfilter.h"
-#include "gtk/keys.h"
+#include "keys.h"
FILE *data_out_file = NULL;
packet_info pi;
/* ethereal.h
* Global defines, etc.
*
- * $Id: ethereal.h,v 1.23 1999/08/28 01:51:58 guy Exp $
+ * $Id: main.h,v 1.1 1999/09/09 02:42:40 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#endif
-
-/* From the K&R book, p. 89 */
-#ifndef MAX
- #define MAX(x, y) ((x) > (y) ? (x) : (y))
-#endif
-
-#ifndef MIN
- #define MIN(x, y) ((x) < (y) ? (x) : (y))
-#endif
-
typedef struct _selection_info {
GtkWidget *tree;
/* menu.c
* Menu routines
*
- * $Id: menu.c,v 1.1 1999/09/01 03:04:23 gram Exp $
+ * $Id: menu.c,v 1.2 1999/09/09 02:42:40 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
# include <sys/types.h>
#endif
-#include "ethereal.h"
+#include "main.h"
#include "menu.h"
#include "packet.h"
#include "capture.h"
/* gtkpacket.c
* Routines for GTK+ packet display
*
- * $Id: gtkpacket.c,v 1.6 1999/07/07 22:51:39 gram Exp $
+ * $Id: proto_draw.c,v 1.1 1999/09/09 02:42:40 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#endif
#include <stdio.h>
-#include "ethereal.h"
+#include "main.h"
#include "packet.h"
-#ifndef __GTKPACKET_H__
-#include "gtkpacket.h"
-#endif
+#include "proto_draw.h"
#define BYTE_VIEW_WIDTH 16
#define BYTE_VIEW_SEP 8
/* gtkpacket.h
* Definitions for GTK+ packet display structures and routines
*
- * $Id: gtkpacket.h,v 1.2 1999/07/07 22:51:39 gram Exp $
+ * $Id: proto_draw.h,v 1.1 1999/09/09 02:42:40 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.20 1999/09/01 03:04:12 gram Exp $
+ * $Id: prefs.c,v 1.21 1999/09/09 02:42:25 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include <sys/stat.h>
-#include "ethereal.h"
+#include "gtk/main.h"
#include "packet.h"
#include "file.h"
#include "prefs.h"
/* print.c
* Routines for printing packet analysis trees.
*
- * $Id: print.c,v 1.17 1999/09/01 03:04:12 gram Exp $
+ * $Id: print.c,v 1.18 1999/09/09 02:42:25 gram Exp $
*
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
# include <sys/types.h>
#endif
-/*#include "ethereal.h"*/
#include "packet.h"
#include "prefs.h"
#include "print.h"
/* resolv.c
* Routines for network object lookup
*
- * $Id: resolv.c,v 1.8 1999/07/13 02:52:58 gram Exp $
+ * $Id: resolv.c,v 1.9 1999/09/09 02:42:26 gram Exp $
*
* Laurent Deniel <deniel@worldnet.fr>
*
# include <setjmp.h>
#endif
-#include "ethereal.h"
+#include "gtk/main.h"
#include "packet.h"
#include "packet-ipv6.h"
#include "resolv.h"
/* summary.c
* Routines for capture file summary window
*
- * $Id: summary.c,v 1.11 1999/09/01 03:04:12 gram Exp $
+ * $Id: summary.c,v 1.12 1999/09/09 02:42:26 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
# include <sys/sockio.h>
#endif
-#include "ethereal.h"
+#include "gtk/main.h"
#include "packet.h"
#include "file.h"
#include "summary.h"