flipperzero_sys

Type Alias pb_istream_t

Source
pub type pb_istream_t = pb_istream_s;

Aliased Type§

struct pb_istream_t {
    pub callback: Option<unsafe extern "C" fn(_: *mut pb_istream_s, _: *mut u8, _: usize) -> bool>,
    pub state: *mut c_void,
    pub bytes_left: usize,
    pub errmsg: *const i8,
}

Fields§

§callback: Option<unsafe extern "C" fn(_: *mut pb_istream_s, _: *mut u8, _: usize) -> bool>§state: *mut c_void§bytes_left: usize§errmsg: *const i8