aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-10 22:19:29 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-10 22:19:29 +0000
commit50582fc9f14baae6ce070a4c8afede51f4933f4c (patch)
tree7c14448b49715a60aefc583ab03dc2796a151499 /epan/to_str.h
parente04e1e7f67258fe2ee67aeb2719c6e1fed1d77be (diff)
Add an argument to abs_time_to_str() and abs_time_secs_to_str()
indicating whether the time should be shown as local time or UTC. For now, always pass FALSE, meaning "show as local time". Clean up some stuff in the SNMP dissector, use abs_time_secs_to_str() for times with one-second resolution, and update a comment in various macros in the WSP dissector, while we're at it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31227 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 69d02a357c..a606c620f3 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -74,8 +74,8 @@ extern void vines_addr_to_str_buf(const guint8 *addrp, gchar *buf, int buf_len);
extern gchar* time_secs_to_str(gint32);
extern gchar* time_secs_to_str_unsigned(guint32);
extern gchar* time_msecs_to_str(gint32);
-extern gchar* abs_time_to_str(nstime_t*);
-extern gchar* abs_time_secs_to_str(time_t);
+extern gchar* abs_time_to_str(nstime_t*, gboolean);
+extern gchar* abs_time_secs_to_str(time_t, gboolean);
extern void display_signed_time(gchar *, int, gint32, gint32, time_res_t);
extern void display_epoch_time(gchar *, int, time_t, gint32, time_res_t);