diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-01-05 20:55:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-01-05 20:55:48 +0000 |
commit | 3c3ca1735815a4e495922b50b01a258016c93d4b (patch) | |
tree | 55ab881e478c8ead90652850135d3f083a7e9772 /src/core/ngx_config.h | |
parent | fa5fea18f7b0f6d024d5a814d34c778b6792abdb (diff) | |
download | nginx-3c3ca1735815a4e495922b50b01a258016c93d4b.tar.gz nginx-3c3ca1735815a4e495922b50b01a258016c93d4b.zip |
nginx-0.0.1-2004-01-05-23:55:48 import
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r-- | src/core/ngx_config.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h index 4f6f23dd9..e0e29fba5 100644 --- 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 */ |