Type Alias ext_php_rs::ffi::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, _: i64, _: i32, _: *mut i64) -> 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, _: i64, _: i32, _: *mut i64) -> 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>