From 88e94a01867460d7c9bb9fd124daf0e0ee118e7f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 19 Jun 1999 01:14:51 +0000 Subject: Added "Capture" and "Display" menus; "Capture" has a "Start" item, which is the same as "Tools/Capture", and "Display" has an "Options" item, which pops up a dialog box to let you change the "default" time-stamp column display format on the fly (the "default" is what the "-t" command-line option sets), and have the display change when you do that. Made infrastructure changes to make the immediate display update work. Removed some unused functions, declared some functions used only in the file in which they're defined "static", and removed some unnecessary #includes. svn path=/trunk/; revision=317 --- file.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'file.h') diff --git a/file.h b/file.h index 0b96caa3e0..f80958a1a0 100644 --- a/file.h +++ b/file.h @@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.14 1999/06/12 09:10:19 guy Exp $ + * $Id: file.h,v 1.15 1999/06/19 01:14:51 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -92,9 +92,8 @@ typedef struct _capture_file { */ /*guint8 pd[MAX_PACKET_SIZE];*/ /* Packet data */ guint8 pd[65536]; /* Packet data */ - GList *plist_first;/* First packet in list */ GList *plist; /* Packet list */ - frame_data *cur; /* Current list item */ + frame_data *cur; /* Frame data for current list item */ column_info cinfo; /* Column formatting information */ } capture_file; @@ -136,6 +135,8 @@ int load_cap_file(char *, capture_file *); int tail_cap_file(char *, capture_file *); /* size_t read_frame_header(capture_file *); */ +void redisplay_packets(capture_file *cf); + /* Moves or copies a file. Returns 0 on failure, 1 on success */ int file_mv(char *from, char *to); -- cgit v1.2.3