lib: util: Add a function nt_time_to_unix_timespec_raw().
authorJeremy Allison <jra@samba.org>
Thu, 6 Jan 2022 21:58:20 +0000 (13:58 -0800)
committerJule Anger <janger@samba.org>
Wed, 12 Jan 2022 11:11:15 +0000 (11:11 +0000)
commita0934daa711ce51d0e5e6d369eddac4926af6094
treeed5e5a24e47804fd34ce74a576082e6215bdf4cc
parent9f0353b2f4c3222cc326c605701b448db5895b8a
lib: util: Add a function nt_time_to_unix_timespec_raw().

Not yet used. Does no checks on the converted values.

A later cleanup will allow us to move nt_time_to_unix_timespec()
and nt_time_to_full_timespec() to use common code.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14928

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 29d69c22a0d945193ce3dac27e1083dbc5c53f03)
lib/util/time.c
lib/util/time.h