Mercurial > hg > nginx-quic
diff src/core/ngx_config.h @ 218:05592fd7a436
nginx-0.0.1-2004-01-05-23:55:48 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 05 Jan 2004 20:55:48 +0000 |
parents | fd9fecc4193f |
children | 99df0edb63ed |
line wrap: on
line diff
--- a/src/core/ngx_config.h +++ b/src/core/ngx_config.h @@ -59,14 +59,16 @@ typedef u_int ngx_uint_t; #if !(WIN32) -#define ngx_signal_helper(n) SIG##n -#define ngx_signal_value(n) ngx_signal_helper(n) +#define ngx_signal_helper(n) SIG##n +#define ngx_signal_value(n) ngx_signal_helper(n) /* TODO: #ifndef */ -#define NGX_RESTART_SIGNAL HUP -#define NGX_ROTATE_SIGNAL USR1 -#define NGX_SHUTDOWN_SIGNAL TERM -#define NGX_INTERRUPT_SIGNAL INT +#define NGX_RECONFIGURE_SIGNAL HUP +#define NGX_REOPEN_SIGNAL USR1 +#define NGX_SHUTDOWN_SIGNAL QUIT +#define NGX_TERMINATE_SIGNAL TERM +#define NGX_INTERRUPT_SIGNAL INT +#define NGX_CHANGEBIN_SIGNAL USR2 #endif @@ -76,6 +78,13 @@ typedef u_int ngx_uint_t; #define NGX_INVALID_ARRAY_INDEX 0x80000000 +/* TODO: auto */ +#define NGX_INT32_LEN sizeof("-2147483648") - 1 +#define NGX_TIME_T_LEN sizeof("-2147483648") - 1 +#define NGX_OFF_T_LEN sizeof("-9223372036854775808") - 1 + + + /* TODO: auto_conf */ #define NGX_ALIGN (sizeof(unsigned long) - 1) /* platform word */ #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */