pub unsafe extern "C" fn panda_register_callback_with_context(
plugin: *mut c_void,
type_: panda_cb_type,
cb: panda_cb_with_context,
context: *mut c_void,
)Expand description
panda_register_callback_with_context() - Register a callback for a plugin with context. @plugin: Pointer to plugin. @type: Type of callback, indicating when cb function will run. @cb: The callback function itself and other info. @context: Pointer to context.
Same as panda_register_callback, but with context.