|
1 | 1 | #![no_std] |
2 | 2 | use ::core::ffi::{c_char, c_void}; |
3 | 3 | use ::core::{mem, ptr}; |
4 | | - |
5 | 4 | use nginx_sys::{ |
| 5 | + NGX_CONF_TAKE2, NGX_HTTP_DELETE, NGX_HTTP_MAIN_CONF, NGX_HTTP_MAIN_CONF_OFFSET, |
| 6 | + NGX_HTTP_MODULE, NGX_HTTP_VAR_CHANGEABLE, NGX_HTTP_VAR_NOCACHEABLE, NGX_LOG_EMERG, |
6 | 7 | ngx_command_t, ngx_conf_t, ngx_http_add_variable, ngx_http_compile_complex_value_t, |
7 | 8 | ngx_http_complex_value, ngx_http_complex_value_t, ngx_http_module_t, ngx_http_request_t, |
8 | 9 | ngx_http_variable_t, ngx_http_variable_value_t, ngx_int_t, ngx_module_t, ngx_parse_size, |
9 | | - ngx_shared_memory_add, ngx_shm_zone_t, ngx_str_t, ngx_uint_t, NGX_CONF_TAKE2, NGX_HTTP_DELETE, |
10 | | - NGX_HTTP_MAIN_CONF, NGX_HTTP_MAIN_CONF_OFFSET, NGX_HTTP_MODULE, NGX_HTTP_VAR_CHANGEABLE, |
11 | | - NGX_HTTP_VAR_NOCACHEABLE, NGX_LOG_EMERG, |
| 10 | + ngx_shared_memory_add, ngx_shm_zone_t, ngx_str_t, ngx_uint_t, |
12 | 11 | }; |
13 | 12 | use ngx::collections::RbTreeMap; |
14 | | -use ngx::core::{NgxStr, NgxString, Pool, SlabPool, Status, NGX_CONF_ERROR, NGX_CONF_OK}; |
| 13 | +use ngx::core::{NGX_CONF_ERROR, NGX_CONF_OK, NgxStr, NgxString, Pool, SlabPool, Status}; |
15 | 14 | use ngx::http::{HttpModule, HttpModuleMainConf}; |
16 | 15 | use ngx::{ngx_conf_log_error, ngx_log_debug, ngx_string}; |
17 | 16 |
|
|
0 commit comments