From fe725bec8cb78d9fbcb1fb9133b1c3ad65e0e400 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 19 Jun 1999 01:47:43 +0000 Subject: 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 --- timestamp.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 timestamp.h (limited to 'timestamp.h') 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 + * 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 */ -- cgit v1.2.3