1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib: add NTTIME_[U|m]SEC macros

Signed-off-by: Amir Goldstein <amir@ctera.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Amir Goldstein 2023-02-28 12:53:03 +01:00 committed by Jeremy Allison
parent 122d645868
commit cb9df8181e

View File

@ -72,6 +72,9 @@
/* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30, 4 byte aligned */
typedef uint64_t NTTIME;
#define NTTIME_USEC (10UL)
#define NTTIME_MSEC (1000UL * NTTIME_USEC)
/**
External access to time_t_min and time_t_max.
**/