Type Alias ext_php_rs::zend::StreamWrapperOps
source · pub type StreamWrapperOps = php_stream_wrapper_ops;Aliased Type§
struct StreamWrapperOps {
pub stream_opener: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: *const i8, _: i32, _: *mut *mut _zend_string, _: *mut _php_stream_context, _: i32, _: *const i8, _: u32, _: *const i8, _: u32) -> *mut _php_stream>,
pub stream_closer: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *mut _php_stream) -> i32>,
pub stream_stat: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *mut _php_stream, _: *mut _php_stream_statbuf) -> i32>,
pub url_stat: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut _php_stream_statbuf, _: *mut _php_stream_context) -> i32>,
pub dir_opener: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: *const i8, _: i32, _: *mut *mut _zend_string, _: *mut _php_stream_context, _: i32, _: *const i8, _: u32, _: *const i8, _: u32) -> *mut _php_stream>,
pub label: *const i8,
pub unlink: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut _php_stream_context) -> i32>,
pub rename: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: *const i8, _: i32, _: *mut _php_stream_context) -> i32>,
pub stream_mkdir: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: i32, _: *mut _php_stream_context) -> i32>,
pub stream_rmdir: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut _php_stream_context) -> i32>,
pub stream_metadata: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut c_void, _: *mut _php_stream_context) -> i32>,
}Fields§
§stream_opener: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: *const i8, _: i32, _: *mut *mut _zend_string, _: *mut _php_stream_context, _: i32, _: *const i8, _: u32, _: *const i8, _: u32) -> *mut _php_stream>§stream_closer: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *mut _php_stream) -> i32>§stream_stat: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *mut _php_stream, _: *mut _php_stream_statbuf) -> i32>§url_stat: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut _php_stream_statbuf, _: *mut _php_stream_context) -> i32>§dir_opener: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: *const i8, _: i32, _: *mut *mut _zend_string, _: *mut _php_stream_context, _: i32, _: *const i8, _: u32, _: *const i8, _: u32) -> *mut _php_stream>§label: *const i8§unlink: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut _php_stream_context) -> i32>§rename: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: *const i8, _: i32, _: *mut _php_stream_context) -> i32>§stream_mkdir: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: i32, _: *mut _php_stream_context) -> i32>§stream_rmdir: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut _php_stream_context) -> i32>§stream_metadata: Option<unsafe extern "C" fn(_: *mut _php_stream_wrapper, _: *const i8, _: i32, _: *mut c_void, _: *mut _php_stream_context) -> i32>