diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-09-10 06:44:39 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-09-10 06:44:39 +0000 |
commit | 849677e1a19d758a9bea9960298da45fdbbaa7b1 (patch) | |
tree | ecf6293205d116c876f48166e0421319966e874e /util.h | |
parent | 5978c7ec4be110dbe410c5ffcf6b2619580befb7 (diff) |
Compute and display negative relative and delta time stamps correctly,
just in case time goes backwards (yes, it sometimes does happen in
captures).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2407 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |