pub type StreamWrapperOps = php_stream_wrapper_ops;
Expand description
Operations that can be performed with a stream wrapper
Aliased Type§
#[repr(C)]pub 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>