pub unsafe extern "C" fn panda_enable_callback_helper(
plugin: *mut c_void,
type_: panda_cb_type,
cb: *mut panda_cb,
)Expand description
panda_enable_callback_helper() - Enable a callback. @plugin: Pointer to plugin to which the callback belongs. @type: Type of callback, indicating when cb function will run. @cb: The callback function itself and other info.
This function can be used to enable a previously registered callback to run in panda. To call it, you will need a pointer to the plugin that owns the callback as well as a pointer to the panda_cb object which contains the callback.
type is a number. See typedef panda_cb_type. cb is a pointer to a struct. See typedef panda_cb.