Struct php_all_sys::php72::_zend_utility_functions[][src]

#[repr(C)]pub struct _zend_utility_functions {
    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, ...) -> size_t>,
    pub write_function: Option<unsafe extern "C" fn(str_: *const c_char, str_length: size_t) -> size_t>,
    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: size_t) -> *mut c_char>,
    pub resolve_path_function: Option<unsafe extern "C" fn(filename: *const c_char, filename_len: c_int) -> *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, ...) -> size_t>write_function: Option<unsafe extern "C" fn(str_: *const c_char, str_length: size_t) -> size_t>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: size_t) -> *mut c_char>resolve_path_function: Option<unsafe extern "C" fn(filename: *const c_char, filename_len: c_int) -> *mut zend_string>

Trait Implementations

impl Clone for _zend_utility_functions[src]

impl Copy for _zend_utility_functions[src]

impl Debug for _zend_utility_functions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.