qemu_plugin_udata_cb_t

Type Alias qemu_plugin_udata_cb_t 

Source
pub type qemu_plugin_udata_cb_t = Option<unsafe extern "C" fn(id: qemu_plugin_id_t, userdata: *mut c_void)>;
Expand description

typedef qemu_plugin_udata_cb_t - callback with user data @id: the unique qemu_plugin_id_t @userdata: a pointer to some user data supplied when the callback was registered.

Aliased Type§

pub enum qemu_plugin_udata_cb_t {
    None,
    Some(unsafe extern "C" fn(u64, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u64, *mut c_void))

Some value of type T.