pub type sapi_module_struct = _sapi_module_struct;
Aliased Type§
struct sapi_module_struct {Show 36 fields
pub name: *mut i8,
pub pretty_name: *mut i8,
pub startup: Option<unsafe extern "C" fn(_: *mut _sapi_module_struct) -> i32>,
pub shutdown: Option<unsafe extern "C" fn(_: *mut _sapi_module_struct) -> i32>,
pub activate: Option<unsafe extern "C" fn() -> i32>,
pub deactivate: Option<unsafe extern "C" fn() -> i32>,
pub ub_write: Option<unsafe extern "C" fn(_: *const i8, _: usize) -> usize>,
pub flush: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub get_stat: Option<unsafe extern "C" fn() -> *mut stat>,
pub getenv: Option<unsafe extern "C" fn(_: *const i8, _: usize) -> *mut i8>,
pub sapi_error: Option<unsafe extern "C" fn(_: i32, _: *const i8, ...)>,
pub header_handler: Option<unsafe extern "C" fn(_: *mut sapi_header_struct, _: u32, _: *mut sapi_headers_struct) -> i32>,
pub send_headers: Option<unsafe extern "C" fn(_: *mut sapi_headers_struct) -> i32>,
pub send_header: Option<unsafe extern "C" fn(_: *mut sapi_header_struct, _: *mut c_void)>,
pub read_post: Option<unsafe extern "C" fn(_: *mut i8, _: usize) -> usize>,
pub read_cookies: Option<unsafe extern "C" fn() -> *mut i8>,
pub register_server_variables: Option<unsafe extern "C" fn(_: *mut _zval_struct)>,
pub log_message: Option<unsafe extern "C" fn(_: *const i8, _: i32)>,
pub get_request_time: Option<unsafe extern "C" fn() -> f64>,
pub terminate_process: Option<unsafe extern "C" fn()>,
pub php_ini_path_override: *mut i8,
pub default_post_reader: Option<unsafe extern "C" fn()>,
pub treat_data: Option<unsafe extern "C" fn(_: i32, _: *mut i8, _: *mut _zval_struct)>,
pub executable_location: *mut i8,
pub php_ini_ignore: i32,
pub php_ini_ignore_cwd: i32,
pub get_fd: Option<unsafe extern "C" fn(_: *mut i32) -> i32>,
pub force_http_10: Option<unsafe extern "C" fn() -> i32>,
pub get_target_uid: Option<unsafe extern "C" fn(_: *mut u32) -> i32>,
pub get_target_gid: Option<unsafe extern "C" fn(_: *mut u32) -> i32>,
pub input_filter: Option<unsafe extern "C" fn(_: i32, _: *const i8, _: *mut *mut i8, _: usize, _: *mut usize) -> u32>,
pub ini_defaults: Option<unsafe extern "C" fn(_: *mut _zend_array)>,
pub phpinfo_as_text: i32,
pub ini_entries: *mut i8,
pub additional_functions: *const _zend_function_entry,
pub input_filter_init: Option<unsafe extern "C" fn() -> u32>,
}
Fields§
§name: *mut i8
§pretty_name: *mut i8
§startup: Option<unsafe extern "C" fn(_: *mut _sapi_module_struct) -> i32>
§shutdown: Option<unsafe extern "C" fn(_: *mut _sapi_module_struct) -> i32>
§activate: Option<unsafe extern "C" fn() -> i32>
§deactivate: Option<unsafe extern "C" fn() -> i32>
§ub_write: Option<unsafe extern "C" fn(_: *const i8, _: usize) -> usize>
§flush: Option<unsafe extern "C" fn(_: *mut c_void)>
§get_stat: Option<unsafe extern "C" fn() -> *mut stat>
§getenv: Option<unsafe extern "C" fn(_: *const i8, _: usize) -> *mut i8>
§sapi_error: Option<unsafe extern "C" fn(_: i32, _: *const i8, ...)>
§header_handler: Option<unsafe extern "C" fn(_: *mut sapi_header_struct, _: u32, _: *mut sapi_headers_struct) -> i32>
§send_headers: Option<unsafe extern "C" fn(_: *mut sapi_headers_struct) -> i32>
§send_header: Option<unsafe extern "C" fn(_: *mut sapi_header_struct, _: *mut c_void)>
§read_post: Option<unsafe extern "C" fn(_: *mut i8, _: usize) -> usize>
§register_server_variables: Option<unsafe extern "C" fn(_: *mut _zval_struct)>
§log_message: Option<unsafe extern "C" fn(_: *const i8, _: i32)>
§get_request_time: Option<unsafe extern "C" fn() -> f64>
§terminate_process: Option<unsafe extern "C" fn()>
§php_ini_path_override: *mut i8
§default_post_reader: Option<unsafe extern "C" fn()>
§treat_data: Option<unsafe extern "C" fn(_: i32, _: *mut i8, _: *mut _zval_struct)>
§executable_location: *mut i8
§php_ini_ignore: i32
§php_ini_ignore_cwd: i32
§get_fd: Option<unsafe extern "C" fn(_: *mut i32) -> i32>
§force_http_10: Option<unsafe extern "C" fn() -> i32>
§get_target_uid: Option<unsafe extern "C" fn(_: *mut u32) -> i32>
§get_target_gid: Option<unsafe extern "C" fn(_: *mut u32) -> i32>
§input_filter: Option<unsafe extern "C" fn(_: i32, _: *const i8, _: *mut *mut i8, _: usize, _: *mut usize) -> u32>
§ini_defaults: Option<unsafe extern "C" fn(_: *mut _zend_array)>
§phpinfo_as_text: i32
§ini_entries: *mut i8
§additional_functions: *const _zend_function_entry
§input_filter_init: Option<unsafe extern "C" fn() -> u32>
Trait Implementations
Source§impl Clone for _sapi_module_struct
impl Clone for _sapi_module_struct
Source§fn clone(&self) -> _sapi_module_struct
fn clone(&self) -> _sapi_module_struct
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more