mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
parent
4932e4bb7a
commit
3525f77e56
@ -612,3 +612,11 @@ _PUBLIC_ int get_time_zone(time_t t)
|
||||
return 0;
|
||||
return tm_diff(&tm_utc,tm);
|
||||
}
|
||||
|
||||
/**
|
||||
check if 2 NTTIMEs are equal.
|
||||
*/
|
||||
bool nt_time_equal(NTTIME *t1, NTTIME *t2)
|
||||
{
|
||||
return *t1 == *t2;
|
||||
}
|
||||
|
@ -224,6 +224,9 @@ _PUBLIC_ void nttime_to_timeval(struct timeval *tv, NTTIME t);
|
||||
*/
|
||||
_PUBLIC_ int get_time_zone(time_t t);
|
||||
|
||||
|
||||
/**
|
||||
check if 2 NTTIMEs are equal.
|
||||
*/
|
||||
bool nt_time_equal(NTTIME *t1, NTTIME *t2);
|
||||
|
||||
#endif /* _SAMBA_TIME_H_ */
|
||||
|
@ -24,13 +24,6 @@
|
||||
#include "libcli/raw/interfaces.h"
|
||||
#include "libcli/raw/libcliraw.h"
|
||||
|
||||
/**
|
||||
check if 2 NTTIMEs are equal.
|
||||
*/
|
||||
bool nt_time_equal(NTTIME *t1, NTTIME *t2)
|
||||
{
|
||||
return *t1 == *t2;
|
||||
}
|
||||
|
||||
NTSTATUS torture_second_tcon(TALLOC_CTX *mem_ctx,
|
||||
struct smbcli_session *session,
|
||||
|
Loading…
Reference in New Issue
Block a user