summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_times.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-03-25 09:10:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-03-25 09:10:10 +0000
commit6d45d8a50da07591ed0de584bba1e526cc9b9406 (patch)
tree7ec3bc90902c6ddd64df14ee89e152cd452e229f /src/core/ngx_times.h
parent2f916a972139be74d437e40bdc7d236401123170 (diff)
downloadnginx-6d45d8a50da07591ed0de584bba1e526cc9b9406.tar.gz
nginx-6d45d8a50da07591ed0de584bba1e526cc9b9406.tar.bz2
*) introduce ngx_time_sigsafe_update() to update the error log time only
*) change ngx_time_update() interface
Diffstat (limited to 'src/core/ngx_times.h')
-rw-r--r--src/core/ngx_times.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_times.h b/src/core/ngx_times.h
index 4259d17d1..4e31f00a0 100644
--- a/src/core/ngx_times.h
+++ b/src/core/ngx_times.h
@@ -20,7 +20,8 @@ typedef struct {
void ngx_time_init(void);
-void ngx_time_update(ngx_uint_t use_cached_gmtoff);
+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);