Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Functions | Variables
ngx_times.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_times.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_time_t

Macros

#define ngx_next_time_n   "mktime()"
#define ngx_time()   ngx_cached_time->sec
#define ngx_timeofday()   (ngx_time_t *) ngx_cached_time

Functions

void ngx_time_init (void)
void ngx_time_update (void)
void ngx_time_sigsafe_update (void)
u_char * ngx_http_time (u_char *buf, time_t t)
u_char * ngx_http_cookie_time (u_char *buf, time_t t)
void ngx_gmtime (time_t t, ngx_tm_t *tp)
time_t ngx_next_time (time_t when)

Variables

volatile ngx_time_tngx_cached_time
volatile ngx_str_t ngx_cached_err_log_time
volatile ngx_str_t ngx_cached_http_time
volatile ngx_str_t ngx_cached_http_log_time
volatile ngx_str_t ngx_cached_http_log_iso8601
volatile ngx_msec_t ngx_current_msec

Macro Definition Documentation

#define ngx_next_time_n   "mktime()"

Definition at line 31 of file ngx_times.h.

#define ngx_time ( )    ngx_cached_time->sec

Definition at line 36 of file ngx_times.h.

#define ngx_timeofday ( )    (ngx_time_t *) ngx_cached_time

Definition at line 37 of file ngx_times.h.

Function Documentation

void ngx_gmtime ( time_t  t,
ngx_tm_t tp 
)

Definition at line 283 of file ngx_times.c.

Here is the caller graph for this function:

u_char* ngx_http_cookie_time ( u_char *  buf,
time_t  t 
)

Definition at line 256 of file ngx_times.c.

Here is the call graph for this function:

u_char* ngx_http_time ( u_char *  buf,
time_t  t 
)

Definition at line 238 of file ngx_times.c.

Here is the call graph for this function:

time_t ngx_next_time ( time_t  when)

Definition at line 376 of file ngx_times.c.

Here is the call graph for this function:

void ngx_time_init ( void  )

Definition at line 60 of file ngx_times.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_time_sigsafe_update ( void  )

Definition at line 185 of file ngx_times.c.

Here is the call graph for this function:

void ngx_time_update ( void  )

Definition at line 74 of file ngx_times.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

volatile ngx_str_t ngx_cached_err_log_time

Definition at line 28 of file ngx_times.c.

volatile ngx_str_t ngx_cached_http_log_iso8601

Definition at line 31 of file ngx_times.c.

volatile ngx_str_t ngx_cached_http_log_time

Definition at line 30 of file ngx_times.c.

volatile ngx_str_t ngx_cached_http_time

Definition at line 29 of file ngx_times.c.

volatile ngx_time_t* ngx_cached_time

Definition at line 27 of file ngx_times.c.

volatile ngx_msec_t ngx_current_msec

Definition at line 26 of file ngx_times.c.