diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-09-10 06:44:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-09-10 06:44:39 +0000 |
commit | 332d5715e8898cc1552aa95847b93166d5478f5e (patch) | |
tree | ecf6293205d116c876f48166e0421319966e874e /util.h | |
parent | 6755d16641f4ea2abe50e35c926e8bb34f43ac99 (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.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 */ |