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)
committerJeremy Allison <jra@samba.org>
Sat, 8 Jan 2022 05:43:32 +0000 (05:43 +0000)
commit29d69c22a0d945193ce3dac27e1083dbc5c53f03
tree9eab19a105170af63d5f6962bceb279b2597b05a
parent30fea0d31117c1a899cd333a9b8a62ba765dbb02
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>
lib/util/time.c
lib/util/time.h