aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-06-19 01:14:51 +0000
committerGuy Harris <guy@alum.mit.edu>1999-06-19 01:14:51 +0000
commit88e94a01867460d7c9bb9fd124daf0e0ee118e7f (patch)
tree6244acb9dd3df334b8eb9e094912181a00de33e4 /file.h
parent6a971ea03c4d73bcf28ade8d63cd6879e662dfeb (diff)
downloadwireshark-88e94a01867460d7c9bb9fd124daf0e0ee118e7f.tar.gz
wireshark-88e94a01867460d7c9bb9fd124daf0e0ee118e7f.tar.bz2
wireshark-88e94a01867460d7c9bb9fd124daf0e0ee118e7f.zip
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
Diffstat (limited to 'file.h')
-rw-r--r--file.h7
1 files changed, 4 insertions, 3 deletions
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 <gerald@zing.org>
@@ -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);