Type Alias php_stream_ops

Source
pub type php_stream_ops = _php_stream_ops;

Aliased Type§

struct php_stream_ops {
    pub write: Option<unsafe extern "C" fn(*mut _php_stream, *const i8, usize) -> isize>,
    pub read: Option<unsafe extern "C" fn(*mut _php_stream, *mut i8, usize) -> isize>,
    pub close: Option<unsafe extern "C" fn(*mut _php_stream, i32) -> i32>,
    pub flush: Option<unsafe extern "C" fn(*mut _php_stream) -> i32>,
    pub label: *const i8,
    pub seek: Option<unsafe extern "C" fn(*mut _php_stream, i32, i32, *mut i32) -> i32>,
    pub cast: Option<unsafe extern "C" fn(*mut _php_stream, i32, *mut *mut c_void) -> i32>,
    pub stat: Option<unsafe extern "C" fn(*mut _php_stream, *mut _php_stream_statbuf) -> i32>,
    pub set_option: Option<unsafe extern "C" fn(*mut _php_stream, i32, i32, *mut c_void) -> i32>,
}

Fields§

§write: Option<unsafe extern "C" fn(*mut _php_stream, *const i8, usize) -> isize>§read: Option<unsafe extern "C" fn(*mut _php_stream, *mut i8, usize) -> isize>§close: Option<unsafe extern "C" fn(*mut _php_stream, i32) -> i32>§flush: Option<unsafe extern "C" fn(*mut _php_stream) -> i32>§label: *const i8§seek: Option<unsafe extern "C" fn(*mut _php_stream, i32, i32, *mut i32) -> i32>§cast: Option<unsafe extern "C" fn(*mut _php_stream, i32, *mut *mut c_void) -> i32>§stat: Option<unsafe extern "C" fn(*mut _php_stream, *mut _php_stream_statbuf) -> i32>§set_option: Option<unsafe extern "C" fn(*mut _php_stream, i32, i32, *mut c_void) -> i32>