aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-15 20:37:37 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-15 20:37:37 +0000
commit673e47d4a9a1a79170bc93b8df23c6ac328bb531 (patch)
treed1a536772bd6167431c28ecb60a637804f762b3b /cfile.h
parent4339a40c036664a30485c50692a9d9dba5419bbe (diff)
Keep a "display name" as part of a capture_file structure; for live
capture temporary files, it's "<capture", and for saved capture files, it's the last component of the pathname of the file. Use that in various places when displaying the file name. svn path=/trunk/; revision=8474
Diffstat (limited to 'cfile.h')
-rw-r--r--cfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfile.h b/cfile.h
index f2e8b29e85..b05b33a3b8 100644
--- a/cfile.h
+++ b/cfile.h
@@ -1,7 +1,7 @@
/* cfile.h
* capture_file definition & GUI-independent manipulation
*
- * $Id: cfile.h,v 1.3 2003/08/29 04:03:45 guy Exp $
+ * $Id: cfile.h,v 1.4 2003/09/15 20:37:35 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -47,6 +47,7 @@ typedef struct _capture_file {
gchar *filename; /* Name of capture file */
gboolean is_tempfile; /* Is capture file a temporary file? */
gboolean user_saved;/* If capture file is temporary, has it been saved by user yet? */
+ gchar *displayname; /* Name used when displaying */
long f_len; /* Length of capture file */
guint16 cd_t; /* File type of capture file */
int lnk_t; /* Link-layer type with which to save capture */