OpenVAS Scanner
7.0.1~git
|
Unix SMB/CIFS implementation. time handling functions. More...
#include "byteorder.h"
#include "smb.h"
#include <limits.h>
#include <sys/time.h>
#include <time.h>
#include <utime.h>
Go to the source code of this file.
Macros | |
#define | uint32 uint32_t |
#define | TIME_T_MIN |
#define | TIME_T_MAX LONG_MAX |
#define | NTTIME_INFINITY (NTTIME) 0x8000000000000000LL |
#define | TIME_FIXUP_CONSTANT_INT 11644473600LL |
Functions | |
void | unix_timespec_to_nt_time_ntlmssp (NTTIME *nt, struct timespec ts) |
void | GetTimeOfDay_ntlmssp (struct timeval *tval) |
void | put_long_date_timespec_ntlmssp (char *p, struct timespec ts) |
void | put_long_date_ntlmssp (char *p, time_t t) |
Unix SMB/CIFS implementation. time handling functions.
time handling functions
Definition in file time.c.
#define TIME_FIXUP_CONSTANT_INT 11644473600LL |
Definition at line 57 of file time.c.
Referenced by unix_timespec_to_nt_time_ntlmssp().
#define TIME_T_MAX LONG_MAX |
Definition at line 52 of file time.c.
Referenced by unix_timespec_to_nt_time_ntlmssp().
#define TIME_T_MIN |
void GetTimeOfDay_ntlmssp | ( | struct timeval * | tval | ) |
Definition at line 102 of file time.c.
Referenced by do_reseed_ntlmssp().
void put_long_date_ntlmssp | ( | char * | p, |
time_t | t | ||
) |
Definition at line 122 of file time.c.
References put_long_date_timespec_ntlmssp().
Referenced by NTLMv2_generate_client_data_ntlmssp().
void put_long_date_timespec_ntlmssp | ( | char * | p, |
struct timespec | ts | ||
) |
Definition at line 113 of file time.c.
References SIVAL, and unix_timespec_to_nt_time_ntlmssp().
Referenced by put_long_date_ntlmssp().
void unix_timespec_to_nt_time_ntlmssp | ( | NTTIME * | nt, |
struct timespec | ts | ||
) |
Definition at line 64 of file time.c.
References TIME_FIXUP_CONSTANT_INT, and TIME_T_MAX.
Referenced by put_long_date_timespec_ntlmssp().