webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
time_support.c File Reference
#include <openssl/time_support.h>
#include <time.h>

Macros

#define _POSIX_C_SOURCE   201410L /* for gmtime_r */
 
#define SECS_PER_DAY   (24 * 60 * 60)
 

Functions

struct tm * OPENSSL_gmtime (const time_t *time, struct tm *result)
 
int OPENSSL_gmtime_adj (struct tm *tm, int off_day, long offset_sec)
 
int OPENSSL_gmtime_diff (int *pday, int *psec, const struct tm *from, const struct tm *to)
 

Macro Definition Documentation

◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE   201410L /* for gmtime_r */

◆ SECS_PER_DAY

#define SECS_PER_DAY   (24 * 60 * 60)

Function Documentation

◆ OPENSSL_gmtime()

struct tm* OPENSSL_gmtime ( const time_t *  time,
struct tm *  result 
)

◆ OPENSSL_gmtime_adj()

int OPENSSL_gmtime_adj ( struct tm *  tm,
int  off_day,
long  offset_sec 
)

◆ OPENSSL_gmtime_diff()

int OPENSSL_gmtime_diff ( int *  pday,
int *  psec,
const struct tm *  from,
const struct tm *  to 
)