panda_disable_callback

Function panda_disable_callback 

Source
pub unsafe extern "C" fn panda_disable_callback(
    plugin: *mut c_void,
    type_: panda_cb_type,
    cb: panda_cb,
)
Expand description

panda_disable_callback() - Disable callback for this plugin from running. @plugin: Pointer to plugin. @type: Type of callback, indicating when cb function will run. @cb: The callback function itself and other info.

Mark this callback as disabled so that it stops running.

NB: enable/disable are faster than register/unregister since they set a flag rather than adding/removing something from a list.