aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/nstime.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/nstime.h')
-rw-r--r--wsutil/nstime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wsutil/nstime.h b/wsutil/nstime.h
index c72daa19c6..4145ac583c 100644
--- a/wsutil/nstime.h
+++ b/wsutil/nstime.h
@@ -106,6 +106,11 @@ WS_DLL_PUBLIC double nstime_to_sec(const nstime_t *nstime);
FALSE on failure */
WS_DLL_PUBLIC gboolean filetime_to_nstime(nstime_t *nstime, guint64 filetime);
+/** converts time like Windows FILETIME, but expressed in nanoseconds
+ rather than tenths of microseconds, to nstime, returns TRUE on success,
+ FALSE on failure */
+WS_DLL_PUBLIC gboolean nsfiletime_to_nstime(nstime_t *nstime, guint64 nsfiletime);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */