comparison src/core/ngx_conf_file.h @ 541:b09ee85d0ac8 release-0.1.45

nginx-0.1.45-RELEASE import *) Change: the "ssl_engine" directive was canceled in the ngx_http_ssl_module and now is introduced at global level. *) Bugfix: the responses with SSI subrequests did not transferred via SSL connection. *) Various bug fixes in the IMAP/POP3 proxy.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Sep 2005 14:36:09 +0000
parents c12967aadd87
children 0148586012ab
comparison
equal deleted inserted replaced
540:983c48ab79bb 541:b09ee85d0ac8
62 #define NGX_CONF_ERROR (char *) -1 62 #define NGX_CONF_ERROR (char *) -1
63 63
64 #define NGX_CONF_BLOCK_START 1 64 #define NGX_CONF_BLOCK_START 1
65 #define NGX_CONF_BLOCK_DONE 2 65 #define NGX_CONF_BLOCK_DONE 2
66 #define NGX_CONF_FILE_DONE 3 66 #define NGX_CONF_FILE_DONE 3
67
68 #define NGX_MODULE_V1 0, 0, 1, 0, 0
69 67
70 #define NGX_CORE_MODULE 0x45524F43 /* "CORE" */ 68 #define NGX_CORE_MODULE 0x45524F43 /* "CORE" */
71 #define NGX_CONF_MODULE 0x464E4F43 /* "CONF" */ 69 #define NGX_CONF_MODULE 0x464E4F43 /* "CONF" */
72 70
73 71
97 void *data; 95 void *data;
98 #endif 96 #endif
99 }; 97 };
100 98
101 99
100 #define NGX_MODULE_V1 0, 0, 1, 0, 0, 0, 0
101 #define NGX_MODULE_V1_PADDING 0, 0, 0, 0, 0, 0, 0, 0
102
102 struct ngx_module_s { 103 struct ngx_module_s {
103 ngx_uint_t ctx_index; 104 ngx_uint_t ctx_index;
104 ngx_uint_t index; 105 ngx_uint_t index;
105 ngx_uint_t version; 106 ngx_uint_t version;
107
106 ngx_uint_t spare0; 108 ngx_uint_t spare0;
107 ngx_uint_t spare1; 109 ngx_uint_t spare1;
110 ngx_uint_t spare2;
111 ngx_uint_t spare3;
108 112
109 void *ctx; 113 void *ctx;
110 ngx_command_t *commands; 114 ngx_command_t *commands;
111 ngx_uint_t type; 115 ngx_uint_t type;
116
117 ngx_int_t (*init_master)(ngx_log_t *log);
118
112 ngx_int_t (*init_module)(ngx_cycle_t *cycle); 119 ngx_int_t (*init_module)(ngx_cycle_t *cycle);
120
113 ngx_int_t (*init_process)(ngx_cycle_t *cycle); 121 ngx_int_t (*init_process)(ngx_cycle_t *cycle);
114 #if 0
115 ngx_int_t (*init_thread)(ngx_cycle_t *cycle); 122 ngx_int_t (*init_thread)(ngx_cycle_t *cycle);
116 #endif 123 ngx_int_t (*exit_thread)(ngx_cycle_t *cycle);
124 ngx_int_t (*exit_process)(ngx_cycle_t *cycle);
125
126 ngx_int_t (*exit_master)(ngx_cycle_t *cycle);
127
128 uintptr_t spare_hook0;
129 uintptr_t spare_hook1;
130 uintptr_t spare_hook2;
131 uintptr_t spare_hook3;
132 uintptr_t spare_hook4;
133 uintptr_t spare_hook5;
134 uintptr_t spare_hook6;
135 uintptr_t spare_hook7;
117 }; 136 };
118 137
119 138
120 typedef struct { 139 typedef struct {
121 ngx_str_t name; 140 ngx_str_t name;