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: *mut zend_string, error_lineno: u32, message: *mut zend_string)>,
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: *mut zend_string, 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(handle: *mut zend_file_handle) -> zend_result>,
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: *const c_char, name_len: usize) -> *mut c_char>,
pub resolve_path_function: Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>,
}
Fields§
§error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *mut zend_string, error_lineno: u32, message: *mut zend_string)>
§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: *mut zend_string, 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(handle: *mut zend_file_handle) -> zend_result>
§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: *const c_char, name_len: usize) -> *mut c_char>
§resolve_path_function: Option<unsafe extern "C" fn(filename: *mut zend_string) -> *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 moresource§impl Debug for _zend_utility_functions
impl Debug for _zend_utility_functions
source§impl Default for _zend_utility_functions
impl Default for _zend_utility_functions
source§fn default() -> _zend_utility_functions
fn default() -> _zend_utility_functions
Returns the “default value” for a type. Read more
impl Copy for _zend_utility_functions
Auto Trait Implementations§
impl RefUnwindSafe for _zend_utility_functions
impl Send for _zend_utility_functions
impl Sync for _zend_utility_functions
impl Unpin for _zend_utility_functions
impl UnwindSafe for _zend_utility_functions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more