aboutsummaryrefslogtreecommitdiffstats
path: root/timestamp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-06-19 01:47:43 +0000
committerGuy Harris <guy@alum.mit.edu>1999-06-19 01:47:43 +0000
commitfe725bec8cb78d9fbcb1fb9133b1c3ad65e0e400 (patch)
tree8546db05c76a039ea004809afc132b29fee38bf8 /timestamp.h
parent88e94a01867460d7c9bb9fd124daf0e0ee118e7f (diff)
downloadwireshark-fe725bec8cb78d9fbcb1fb9133b1c3ad65e0e400.tar.gz
wireshark-fe725bec8cb78d9fbcb1fb9133b1c3ad65e0e400.tar.bz2
wireshark-fe725bec8cb78d9fbcb1fb9133b1c3ad65e0e400.zip
Update the column widths if we change the time stamp format from the
"Display/Options" dialog box. "get_column_width()" should check "timestamp_type" against ABSOLUTE, not against COL_ABS_TIME. Clean up the code to check the state of the time stamp radio buttons in the "Display/Options" dialog box. Check in "timestamp.h", which we failed to check in on the previous commit. svn path=/trunk/; revision=318
Diffstat (limited to 'timestamp.h')
-rw-r--r--timestamp.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/timestamp.h b/timestamp.h
new file mode 100644
index 0000000000..4721d2759f
--- /dev/null
+++ b/timestamp.h
@@ -0,0 +1,40 @@
+/* timestamp.h
+ * Defines for packet timestamps
+ *
+ * $Id: timestamp.h,v 1.1 1999/06/19 01:47:43 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * Copyright 1998 Gerald Combs
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __TIMESTAMP_H__
+#define __TIMESTAMP_H__
+
+/*
+ * Type of time-stamp shown in the summary display.
+ */
+typedef enum {
+ RELATIVE,
+ ABSOLUTE,
+ DELTA
+} ts_type;
+
+extern ts_type timestamp_type;
+
+#endif /* timestamp.h */