From 33000d77e4b904cf9cdfd3e3d83a3c3cc84d7f2b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 16 Jun 2008 13:36:53 +0200 Subject: time: move uint64s_nt_time_to_unix_abs() to lib/time.c Guenther (This used to be commit 58f54f180f0a942776455ab6e813628422493dac) --- source3/lib/time.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/lib/time.c') diff --git a/source3/lib/time.c b/source3/lib/time.c index 17990b9269..9db88b3fc8 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -1325,6 +1325,13 @@ time_t nt_time_to_unix_abs(const NTTIME *nt) return (time_t)d; } +time_t uint64s_nt_time_to_unix_abs(const uint64_t *src) +{ + NTTIME nttime; + nttime = *src; + return nt_time_to_unix_abs(&nttime); +} + /**************************************************************************** Put a 8 byte filetime from a struct timespec. Uses GMT. ****************************************************************************/ -- cgit