pub type ngx_conf_t = ngx_conf_s;Aliased Type§
#[repr(C)]pub struct ngx_conf_t {
pub name: *mut i8,
pub args: *mut ngx_array_t,
pub cycle: *mut ngx_cycle_s,
pub pool: *mut ngx_pool_s,
pub temp_pool: *mut ngx_pool_s,
pub conf_file: *mut ngx_conf_file_t,
pub log: *mut ngx_log_s,
pub ctx: *mut c_void,
pub module_type: usize,
pub cmd_type: usize,
pub handler: Option<unsafe extern "C" fn(*mut ngx_conf_s, *mut ngx_command_s, *mut c_void) -> *mut i8>,
pub handler_conf: *mut c_void,
}Fields§
§name: *mut i8§args: *mut ngx_array_t§cycle: *mut ngx_cycle_s§pool: *mut ngx_pool_s§temp_pool: *mut ngx_pool_s§conf_file: *mut ngx_conf_file_t§log: *mut ngx_log_s§ctx: *mut c_void§module_type: usize§cmd_type: usize§handler: Option<unsafe extern "C" fn(*mut ngx_conf_s, *mut ngx_command_s, *mut c_void) -> *mut i8>§handler_conf: *mut c_voidTrait Implementations§
Source§impl HttpModuleConfExt for ngx_conf_t
impl HttpModuleConfExt for ngx_conf_t
Source§unsafe fn http_main_conf_unchecked<T>(
&self,
module: &ngx_module_t,
) -> Option<NonNull<T>>
unsafe fn http_main_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>
Get a non-null reference to the main configuration structure for HTTP module Read more
Source§unsafe fn http_server_conf_unchecked<T>(
&self,
module: &ngx_module_t,
) -> Option<NonNull<T>>
unsafe fn http_server_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>
Get a non-null reference to the server configuration structure for HTTP module Read more
Source§unsafe fn http_location_conf_unchecked<T>(
&self,
module: &ngx_module_t,
) -> Option<NonNull<T>>
unsafe fn http_location_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>
Get a non-null reference to the location configuration structure for HTTP module Read more