aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-09-10 06:44:39 +0000
committerGuy Harris <guy@alum.mit.edu>2000-09-10 06:44:39 +0000
commit332d5715e8898cc1552aa95847b93166d5478f5e (patch)
treeecf6293205d116c876f48166e0421319966e874e /util.h
parent6755d16641f4ea2abe50e35c926e8bb34f43ac99 (diff)
Compute and display negative relative and delta time stamps correctly,
just in case time goes backwards (yes, it sometimes does happen in captures). svn path=/trunk/; revision=2407
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util.h b/util.h
index 838718626c..cf62ded1eb 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/* util.h
* Utility definitions
*
- * $Id: util.h,v 1.20 2000/07/31 04:53:32 guy Exp $
+ * $Id: util.h,v 1.21 2000/09/10 06:44:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -84,6 +84,9 @@ void free_interface_list(GList *if_list);
#endif
+/* Compute the difference between two seconds/microseconds time stamps. */
+void compute_timestamp_diff(gint *, gint *, guint32, guint32, guint32, guint32);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */