2003-11-10 18:09:22 -03:00
|
|
|
#ifndef _NGX_TIMES_H_INCLUDED_
|
|
|
|
#define _NGX_TIMES_H_INCLUDED_
|
|
|
|
|
|
|
|
|
|
|
|
#include <ngx_config.h>
|
|
|
|
#include <ngx_core.h>
|
|
|
|
|
|
|
|
|
2003-11-25 17:44:56 -03:00
|
|
|
void ngx_time_init();
|
2003-11-10 18:09:22 -03:00
|
|
|
void ngx_time_update();
|
2003-11-13 03:14:05 -03:00
|
|
|
size_t ngx_http_time(char *buf, time_t t);
|
|
|
|
void ngx_gmtime(time_t t, ngx_tm_t *tp);
|
2003-11-10 18:09:22 -03:00
|
|
|
|
2003-11-18 18:34:08 -03:00
|
|
|
#define ngx_time() ngx_cached_time
|
|
|
|
|
2003-11-10 18:09:22 -03:00
|
|
|
|
|
|
|
extern time_t ngx_cached_time;
|
2003-11-13 03:14:05 -03:00
|
|
|
extern ngx_str_t ngx_cached_err_log_time;
|
2003-11-10 18:09:22 -03:00
|
|
|
extern ngx_str_t ngx_cached_http_time;
|
|
|
|
extern ngx_str_t ngx_cached_http_log_time;
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _NGX_TIMES_H_INCLUDED_ */
|