diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-03-25 12:10:10 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-03-25 12:10:10 +0300 |
commit | 6d45d8a50da07591ed0de584bba1e526cc9b9406 (patch) | |
tree | 7ec3bc90902c6ddd64df14ee89e152cd452e229f /src/core/ngx_times.h | |
parent | 2f916a972139be74d437e40bdc7d236401123170 (diff) |
*) 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.h | 3 |
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); |