time handling functions
More...
#include <time.h>
#include <sys/time.h>
#include <utime.h>
#include "byteorder.h"
#include "smb.h"
#include <limits.h>
Defines |
#define | uint32 uint32_t |
#define | TIME_T_MIN |
#define | TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN) |
#define | NTTIME_INFINITY (NTTIME)0x8000000000000000LL |
#define | TIME_FIXUP_CONSTANT_INT 11644473600LL |
Functions |
time_t | convert_timespec_to_time_t_ntlmssp (struct timespec ts) |
struct timespec | convert_timeval_to_timespec_ntlmssp (const struct timeval tv) |
void | unix_timespec_to_nt_time_ntlmssp (NTTIME *nt, struct timespec ts) |
struct timeval | convert_timespec_to_timeval_ntlmssp (const 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) |
Detailed Description
Define Documentation
Value:((time_t)0 < (time_t) -1 ? (time_t) 0 \
: ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))