Struct phper_sys::_zend_utility_functions
source · #[repr(C)]pub struct _zend_utility_functions {Show 13 fields
pub error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *const c_char, error_lineno: u32, format: *const c_char, args: *mut __va_list_tag)>,
pub printf_function: Option<unsafe extern "C" fn(format: *const c_char, ...) -> usize>,
pub write_function: Option<unsafe extern "C" fn(str_: *const c_char, str_length: usize) -> usize>,
pub fopen_function: Option<unsafe extern "C" fn(filename: *const c_char, opened_path: *mut *mut zend_string) -> *mut FILE>,
pub message_handler: Option<unsafe extern "C" fn(message: zend_long, data: *const c_void)>,
pub get_configuration_directive: Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
pub ticks_function: Option<unsafe extern "C" fn(ticks: c_int)>,
pub on_timeout: Option<unsafe extern "C" fn(seconds: c_int)>,
pub stream_open_function: Option<unsafe extern "C" fn(filename: *const c_char, handle: *mut zend_file_handle) -> c_int>,
pub printf_to_smart_string_function: Option<unsafe extern "C" fn(buf: *mut smart_string, format: *const c_char, ap: *mut __va_list_tag)>,
pub printf_to_smart_str_function: Option<unsafe extern "C" fn(buf: *mut smart_str, format: *const c_char, ap: *mut __va_list_tag)>,
pub getenv_function: Option<unsafe extern "C" fn(name: *mut c_char, name_len: usize) -> *mut c_char>,
pub resolve_path_function: Option<unsafe extern "C" fn(filename: *const c_char, filename_len: usize) -> *mut zend_string>,
}
Fields§
§error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *const c_char, error_lineno: u32, format: *const c_char, args: *mut __va_list_tag)>
§printf_function: Option<unsafe extern "C" fn(format: *const c_char, ...) -> usize>
§write_function: Option<unsafe extern "C" fn(str_: *const c_char, str_length: usize) -> usize>
§fopen_function: Option<unsafe extern "C" fn(filename: *const c_char, opened_path: *mut *mut zend_string) -> *mut FILE>
§message_handler: Option<unsafe extern "C" fn(message: zend_long, data: *const c_void)>
§get_configuration_directive: Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>
§ticks_function: Option<unsafe extern "C" fn(ticks: c_int)>
§on_timeout: Option<unsafe extern "C" fn(seconds: c_int)>
§stream_open_function: Option<unsafe extern "C" fn(filename: *const c_char, handle: *mut zend_file_handle) -> c_int>
§printf_to_smart_string_function: Option<unsafe extern "C" fn(buf: *mut smart_string, format: *const c_char, ap: *mut __va_list_tag)>
§printf_to_smart_str_function: Option<unsafe extern "C" fn(buf: *mut smart_str, format: *const c_char, ap: *mut __va_list_tag)>
§getenv_function: Option<unsafe extern "C" fn(name: *mut c_char, name_len: usize) -> *mut c_char>
§resolve_path_function: Option<unsafe extern "C" fn(filename: *const c_char, filename_len: usize) -> *mut zend_string>
Trait Implementations§
source§impl Clone for _zend_utility_functions
impl Clone for _zend_utility_functions
source§fn clone(&self) -> _zend_utility_functions
fn clone(&self) -> _zend_utility_functions
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