diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-09-27 22:12:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-09-27 22:12:47 +0000 |
commit | 2e7e493198543e3fdb4b404763b02a2ad22d180e (patch) | |
tree | 01aa8a843d84f24a66f7bd9af00e105efe1ffcdc /ethereal.h | |
parent | 385699d4310480e19aecf08dcff23e792667747a (diff) | |
download | wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.tar.gz wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.tar.bz2 wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.zip |
Merged in a _huge_ patch from Guy Harris. It adds a time stap column,
generalizes the column printing code, adds a "frame" tree item to
the tree view, and fixes a bunch of miscellaneous coding bugs.
svn path=/trunk/; revision=31
Diffstat (limited to 'ethereal.h')
-rw-r--r-- | ethereal.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/ethereal.h b/ethereal.h index 79c4202d47..6b70dd3c0d 100644 --- a/ethereal.h +++ b/ethereal.h @@ -1,7 +1,7 @@ /* ethereal.h * Global defines, etc. * - * $Id: ethereal.h,v 1.3 1998/09/17 03:12:24 gerald Exp $ + * $Id: ethereal.h,v 1.4 1998/09/27 22:12:23 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -71,6 +71,29 @@ typedef struct _selection_info { GtkWidget *text; } selection_info; +/* + * Columns in summary listing. + */ +#define COL_NUM 0 +#define COL_TIME 1 +#define COL_SOURCE 2 +#define COL_DESTINATION 3 +#define COL_PROTOCOL 4 +#define COL_INFO 5 + +#define NUM_COLS 6 + +/* + * Type of time-stamp shown in the summary display. + */ +typedef enum { + RELATIVE, + ABSOLUTE, + DELTA +} ts_type; + +extern ts_type timestamp_type; + void file_sel_ok_cb(GtkWidget *, GtkFileSelection *); void blank_packetinfo(); gint file_progress_cb(gpointer); |