|
OpenVAS Libraries
9.0.3
|
time handling functions More...
#include <time.h>#include <sys/time.h>#include <utime.h>#include "byteorder.h"#include "smb.h"#include <limits.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) |
time handling functions
Definition in file time.c.
| #define TIME_FIXUP_CONSTANT_INT 11644473600LL |
Definition at line 52 of file time.c.
Referenced by unix_timespec_to_nt_time_ntlmssp().
| #define TIME_T_MAX LONG_MAX |
Definition at line 47 of file time.c.
Referenced by unix_timespec_to_nt_time_ntlmssp().
| #define TIME_T_MIN |
| void GetTimeOfDay_ntlmssp | ( | struct timeval * | tval | ) |
| void put_long_date_ntlmssp | ( | char * | p, |
| time_t | t | ||
| ) |
Definition at line 111 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 103 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 58 of file time.c.
References TIME_FIXUP_CONSTANT_INT, and TIME_T_MAX.
Referenced by put_long_date_timespec_ntlmssp().
