time handling functions
More...
#include <time.h>
#include <sys/time.h>
#include <utime.h>
#include "byteorder.h"
#include "smb.h"
#include <limits.h>
#define NTTIME_INFINITY (NTTIME)0x8000000000000000LL |
#define TIME_FIXUP_CONSTANT_INT 11644473600LL |
Value:((time_t)0 < (time_t) -1 ? (time_t) 0 \
: ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
time_t convert_timespec_to_time_t_ntlmssp |
( |
struct timespec |
ts) | |
|
struct timeval convert_timespec_to_timeval_ntlmssp |
( |
const struct timespec |
ts) | |
|
struct timespec convert_timeval_to_timespec_ntlmssp |
( |
const struct timeval |
tv) | |
|
void GetTimeOfDay_ntlmssp |
( |
struct timeval * |
tval) | |
|
void put_long_date_ntlmssp |
( |
char * |
p, |
|
|
time_t |
t |
|
) |
| |
void put_long_date_timespec_ntlmssp |
( |
char * |
p, |
|
|
struct timespec |
ts |
|
) |
| |
void unix_timespec_to_nt_time_ntlmssp |
( |
NTTIME * |
nt, |
|
|
struct timespec |
ts |
|
) |
| |