Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
217:c5d1cdcb04ec | 218:05592fd7a436 |
---|---|
57 #endif | 57 #endif |
58 | 58 |
59 | 59 |
60 #if !(WIN32) | 60 #if !(WIN32) |
61 | 61 |
62 #define ngx_signal_helper(n) SIG##n | 62 #define ngx_signal_helper(n) SIG##n |
63 #define ngx_signal_value(n) ngx_signal_helper(n) | 63 #define ngx_signal_value(n) ngx_signal_helper(n) |
64 | 64 |
65 /* TODO: #ifndef */ | 65 /* TODO: #ifndef */ |
66 #define NGX_RESTART_SIGNAL HUP | 66 #define NGX_RECONFIGURE_SIGNAL HUP |
67 #define NGX_ROTATE_SIGNAL USR1 | 67 #define NGX_REOPEN_SIGNAL USR1 |
68 #define NGX_SHUTDOWN_SIGNAL TERM | 68 #define NGX_SHUTDOWN_SIGNAL QUIT |
69 #define NGX_INTERRUPT_SIGNAL INT | 69 #define NGX_TERMINATE_SIGNAL TERM |
70 #define NGX_INTERRUPT_SIGNAL INT | |
71 #define NGX_CHANGEBIN_SIGNAL USR2 | |
70 | 72 |
71 #endif | 73 #endif |
72 | 74 |
73 | 75 |
74 | 76 |
75 /* TODO: platform specific: array[NGX_INVALID_ARRAY_INDEX] must cause SIGSEGV */ | 77 /* TODO: platform specific: array[NGX_INVALID_ARRAY_INDEX] must cause SIGSEGV */ |
76 #define NGX_INVALID_ARRAY_INDEX 0x80000000 | 78 #define NGX_INVALID_ARRAY_INDEX 0x80000000 |
79 | |
80 | |
81 /* TODO: auto */ | |
82 #define NGX_INT32_LEN sizeof("-2147483648") - 1 | |
83 #define NGX_TIME_T_LEN sizeof("-2147483648") - 1 | |
84 #define NGX_OFF_T_LEN sizeof("-9223372036854775808") - 1 | |
85 | |
77 | 86 |
78 | 87 |
79 /* TODO: auto_conf */ | 88 /* TODO: auto_conf */ |
80 #define NGX_ALIGN (sizeof(unsigned long) - 1) /* platform word */ | 89 #define NGX_ALIGN (sizeof(unsigned long) - 1) /* platform word */ |
81 #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */ | 90 #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */ |